home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr34 / jam125sw.zip / JAM.DOC < prev    next >
Text File  |  1995-03-10  |  233KB  |  5,934 lines

  1.  
  2.  
  3.                           **
  4.  
  5.                        *************   *********   (tm)
  6.                           **       **  **  **  **
  7.                  The      **   ******  **  **  **
  8.                           **  **   **  **  **  **
  9.                      **   **   ***** ****  **   ***
  10.                        ***
  11.  
  12.  
  13.                  Real-Time Data Compression Utilities
  14.  
  15.                              Version 1.20
  16.  
  17.  
  18.                      for IBM/PC/XT/AT, PS/1, PS/2
  19.                             and compatibles
  20.  
  21.  
  22.  
  23.            ================================================
  24.                 Copyright (c) JAM Software, 1992-1994.
  25.                          All Rights Reserved.
  26.  
  27.  
  28. JAM 1.20  User's Guide                                           Page  1
  29. ------------------------------------------------------------------------
  30.  
  31. Copyright (c) JAM Software, 1992-1994.  All rights reserved.
  32.  
  33. Disclaimer
  34.  
  35. JAM Software disclaims all warranties as to this software or
  36. documentation, whether express or implied, including without limitation
  37. any implied warranties of merchantability, fitness for a particular
  38. purpose, functionality, data integrity or protection.
  39.  
  40. Trademarks
  41.  
  42. JAM and 'The JAM Real-Time Data Compression Utilities' are trademarks
  43. of JAM Software.
  44.  
  45. IBM/PC/XT/AT, PS/1, PS/2, PC-DOS and IBM-DOS are trademarks
  46. of International Business Machines Corp.
  47.  
  48. MS-DOS, Windows, Windows-NT are trademarks of Microsoft
  49. Corporation.
  50.  
  51. DR-DOS is a trademark of Digital Research Inc.
  52.  
  53. Novell DOS is a trademark of Novell, Inc.
  54.  
  55. Trademarks of other companies mentioned in this documentation appear
  56. for identification purposes only and are the property of their
  57. respective companies.
  58.  
  59.  
  60. JAM 1.20  User's Guide                                           Page  2
  61. ------------------------------------------------------------------------
  62.  
  63.                            Table of Contents
  64.                          =====================
  65.  
  66.     How to Use This Guide . . . . . . . . . . . . . . . . . . . . . .  4
  67.  
  68.     Chapter  1.  Introduction . . . . . . . . . . . . . . . . . . . .  7
  69.  
  70.         1.1. What is the JAM? . . . . . . . . . . . . . . . . . . . .  7
  71.  
  72.         1.2. Basic concepts of the JAM  . . . . . . . . . . . . . . .  9
  73.  
  74.     Chapter  2.  Getting Started With the JAM . . . . . . . . . . . . 11
  75.  
  76.         2.1. Before you begin . . . . . . . . . . . . . . . . . . . . 11
  77.  
  78.         2.2. Installing the JAM on your hard disk . . . . . . . . . . 11
  79.  
  80.         2.3. Creating JAM Archive File  . . . . . . . . . . . . . . . 13
  81.  
  82.         2.4. Installing the JAM device driver . . . . . . . . . . . . 14
  83.  
  84.     Chapter  3.  Using the JAM  . . . . . . . . . . . . . . . . . . . 15
  85.  
  86.         3.1. General  . . . . . . . . . . . . . . . . . . . . . . . . 15
  87.  
  88.         3.2. Viewing the contents of the JAM Drives . . . . . . . . . 16
  89.  
  90.         3.3. Extended JAM Drive statistics and utilization  . . . . . 18
  91.  
  92.         3.4. Optimizing JAM Drives  . . . . . . . . . . . . . . . . . 19
  93.  
  94.         3.5. Backing up JAM drives  . . . . . . . . . . . . . . . . . 20
  95.  
  96.         3.6. UnDelete operation support . . . . . . . . . . . . . . . 22
  97.  
  98.         3.7. Using the JAM with Windows . . . . . . . . . . . . . . . 23
  99.  
  100.     Chapter  4.  Command Reference  . . . . . . . . . . . . . . . . . 25
  101.  
  102.         4.1. The JCREATE utility  . . . . . . . . . . . . . . . . . . 25
  103.  
  104.         4.2. The JAM device driver  . . . . . . . . . . . . . . . . . 29
  105.  
  106.         4.3. The JMOUNT utility . . . . . . . . . . . . . . . . . . . 33
  107.  
  108.         4.4. The JDIR utility . . . . . . . . . . . . . . . . . . . . 37
  109.  
  110.         4.5. The JCHKDSK utility  . . . . . . . . . . . . . . . . . . 44
  111.  
  112.         4.6. The JMAX utility . . . . . . . . . . . . . . . . . . . . 49
  113.  
  114.  
  115. JAM 1.20  User's Guide                                           Page  3
  116. ------------------------------------------------------------------------
  117.  
  118.         4.7. The JSIZE utility  . . . . . . . . . . . . . . . . . . . 51
  119.  
  120.         4.8. The JSWAP utility  . . . . . . . . . . . . . . . . . . . 53
  121.  
  122.         4.9. The JCMD utility   . . . . . . . . . . . . . . . . . . . 56
  123.  
  124.     Chapter  5.  Guidelines for efficient use of the JAM Drives . . . 57
  125.  
  126.     Chapter  6.  F.A.Q. (Frequently Asked Questions)  . . . . . . . . 60
  127.  
  128.     Appendix  A.  Glossary  . . . . . . . . . . . . . . . . . . . . . 63
  129.  
  130.     Appendix  B.  JAM messages directory  . . . . . . . . . . . . . . 69
  131.  
  132.     Appendix  C.  JAM technical information . . . . . . . . . . . .  106
  133.  
  134.         C.1. JAM drive structure  . . . . . . . . . . . . . . . . .  106
  135.  
  136.         C.2. JAM device driver  . . . . . . . . . . . . . . . . . .  110
  137.  
  138.         C.3. JAM Application Interface  . . . . . . . . . . . . . .  114
  139.  
  140.     I n d e x   . . . . . . . . . . . . . . . . . . . . . . . . . .  118
  141.  
  142.  
  143. JAM 1.20  User's Guide                                           Page  4
  144. ------------------------------------------------------------------------
  145.  
  146.                          How to Use This Guide
  147.                       ===========================
  148.  
  149. This guide was designed for three different types of users:
  150.  
  151. Average     those who are typical, average computer users (including
  152.             beginners) who would like to know just enough about a
  153.             product to use its basic function properly
  154.  
  155. Advanced    those who have computer experience and who would like to
  156.             learn how to use the products advanced functions
  157.  
  158. Expert      those who consider themselves computer experts and who
  159.             would like to know everything about a software product
  160.  
  161. Most computer users belong to the Average category. Usually, they use
  162. a standard personal computer system equipped with one hard disk, a
  163. printer, and productivity software (such as a word-processor or a
  164. spreadsheet package).
  165.  
  166. The JAM in its basic and most common configuration was designed with
  167. the typical needs of the average user in mind. There is no need to read
  168. the entire manual to understand the principles of the product, to
  169. install it, or to use it almost immediately. The minimum you need to
  170. read to get started is Chapter 2 - Getting Started With the JAM.
  171.  
  172. An overview of the guide's contents is presented on the following pages.
  173.  
  174.  
  175. JAM 1.20  User's Guide                                           Page  5
  176. ------------------------------------------------------------------------
  177.  
  178. Chapter 1 - Introduction
  179.  
  180.     In this chapter you will find a brief introduction to the features,
  181.     benefits, and basic concepts of the JAM package. No prior knowledge
  182.     or experience is required to understand this chapter, though the
  183.     user should have a basic understanding of DOS (either PC-DOS,
  184.     MS-DOS, DR-DOS, or Novell-DOS). For more information regarding the
  185.     DOS, refer to your Operating System User's Guide.
  186.  
  187.     Intended readers: All JAM users.
  188.  
  189. Chapter 2 - Getting Started With the JAM
  190.  
  191.     By following a few simple installation instructions as presented
  192.     in this chapter, you will be able to create your first JAM drive
  193.     and have it ready for use in less than five minutes.
  194.  
  195.     Intended readers: All JAM users.
  196.  
  197. Chapter 3 - Using the JAM
  198.  
  199.     This chapter summarizes all that you need to know for the
  200.     day-to-day operation of the JAM. The chapter informs you how to
  201.     obtain detailed information about the contents of the JAM drive,
  202.     and how to verify and optimize it.
  203.  
  204.     Intended readers: All JAM users.
  205.  
  206. Chapter 4 - Command Reference
  207.  
  208.     This chapter consists of detailed information about components of
  209.     the JAM package. For each program you will find full command-line
  210.     syntax, notes regarding its advanced features, and examples on its
  211.     usage.
  212.  
  213.     Intended readers: Advanced and Expert Users.
  214.  
  215. Chapter 5 - Guidelines for efficient use of the JAM Drives
  216.  
  217.     In this chapter you will find practical guidelines and useful hints
  218.     for efficient use of the JAM drives with your application software.
  219.  
  220.     Intended readers: Advanced and Expert Users.
  221.  
  222. JAM 1.20  User's Guide                                           Page  6
  223. ------------------------------------------------------------------------
  224.  
  225. Chapter 6 - F.A.Q. (Frequently Asked Questions)
  226.  
  227.     This chapter consists of some frequently asked questions concerning
  228.     the JAM package and the answers.
  229.  
  230.     Intended readers: All JAM users.
  231.  
  232. Appendix A - Glossary
  233.  
  234.     This appendix defines many of the key terms used throughout the
  235.     manual and outlines the principles and differences between the
  236.     various types of disk drives, and file organization under DOS and
  237.     JAM. It is highly recommended even for average users to read this
  238.     appendix and become more familiar with these principles and terms.
  239.     After reading this section, you will have a better understanding
  240.     of what the software does and how to use it more effectively.
  241.  
  242.     Intended readers: All JAM users.
  243.  
  244. Appendix B - JAM messages directory
  245.  
  246.     This appendix provides a listing and explanation of ALL messages
  247.     that may be displayed by the JAM utilities. This section can help
  248.     you pinpoint a problem in a error situation, and can serve as a
  249.     convenient primary source for trouble-shooting and error recovery.
  250.  
  251. Appendix C - JAM technical information
  252.  
  253.     This appendix provides an explanation about some technical aspects
  254.     of the JAM. While mainly general information is supplied, several
  255.     hints are included that may also help the more advanced users in
  256.     non-standard activities (e.g. use of external utility programs with
  257.     the JAM drives, etc.).
  258.  
  259.     Intended readers: Expert Users.
  260.  
  261.  
  262. JAM 1.20  User's Guide                                           Page  7
  263. ------------------------------------------------------------------------
  264.  
  265.                        Chapter  1.  Introduction
  266.                      =============================
  267.  
  268.                          1.1. What is the JAM?
  269.  
  270. JAM is a transparent hard disk compressor, which enlarges your disk
  271. space. With the JAM you will forget about annoying messages like
  272. 'Insufficient disk space...' with no need to purchase a new hard disk.
  273.  
  274.                              JAM includes:
  275.  
  276.   * a fast and powerful disk driver, which 'squeezes' your data before
  277.     writing it to disk and extracts them while reading
  278.  
  279.   * a set of utilities (including the troubleshooting one) making your
  280.     work with the compressed disk pleasant and safe
  281.  
  282.                            Why use the JAM?
  283.  
  284. You will like the JAM because it provides:
  285.  
  286.   * a high speed of data compression and extraction, even higher than
  287.     that your hard disk has now.  You don't have to sacrifice the
  288.     performance of your computer to the new disk size!
  289.  
  290.   * an approximately 2.5 (two and half) - time (!) increase of your
  291.     disk space. You can even enhance this ratio, having optimized your
  292.     compressed disk using the JMAX utility
  293.  
  294.   * a minimal RAM space required for the JAM-driver (24K or 32K bytes)
  295.  
  296.   * a possibility to load the JAM-driver into high memory
  297.  
  298.   * a full usage of the resources of the Intel 80386/486 and Pentium
  299.     processors, working fast enough even on the Intel 80186
  300.  
  301.   * a full compatibility with the software you use, such as Norton
  302.     Utilities, PCTOOLS, DOS-based LANs, etc. You should not keep in
  303.     mind that the JAM is working on your computer
  304.  
  305.   * a set of the JAM - specific disk utilities, including disk
  306.     optimizer JMAX, volume resize utility JSIZE, the disk information
  307.     program JDIR, and a 'doctor' of your compressed disk JCHKDSK
  308.  
  309.   * and many other advantages ...
  310.  
  311.  
  312. JAM 1.20  User's Guide                                           Page  8
  313. ------------------------------------------------------------------------
  314.  
  315.                            Speed of the JAM
  316.  
  317. As a rule, the real-time disk compressors impair considerably the
  318. overall computer performance. But the JAM doesn't! It uses an effective
  319. algorithm of compression and extraction, which allows you to enlarge
  320. your disk space without any major slowdown of your system. The built-in
  321. reliable cache system provides high performance and full safety for
  322. your data. As a result, the write speed for the JAM-compressed disk is
  323. only slightly lower than the intrinsic hard disk speed, while the read
  324. speed is higher than that of your hard disk.
  325.  
  326.                          The compression ratio
  327.  
  328. The JAM incorporates several effective algorithms making it possible to
  329. achieve at least 2:1 compression. Having optimized your compressed disk
  330. by the JMAX utility, you can attain the ratio of 3.0 - 5.0.  The JDIR
  331. program will inform you on how well the data is compressed.
  332.  
  333.         The compatibility of the JAM with other disk utilities
  334.  
  335. The JAM is fully compatible with any well-known disk utility.  You can
  336. use any program from the Norton Utilities, Mace Utilities, PCTOOLS (to
  337. say nothing about standard DOS disk utilities) without any harm to the
  338. data on your compressed disk.  The JAM will not conflict even with the
  339. undelete features like the EraseProtect and UnErase.
  340.  
  341.              How much RAM space does the JAM-driver need?
  342.  
  343. Minimum! 32K bytes if you use the 8K clusters, or just 24K bytes if you
  344. prefer to use JAM drives with 4K cluster size. Moreover, you can load
  345. the JAM-driver into high memory, thus, free some room in conventional
  346. memory used by DOS.
  347.  
  348.                           System requirements
  349.  
  350.   * an IBM PC/XT/AT, PS/1, PS/2, or compatible computer with an Intel
  351.     80188/186+ or NEC V20/30 processor
  352.  
  353.   * PC-DOS/MS-DOS 3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7
  354.  
  355.   * and - of course - a hard disk!
  356.  
  357.  
  358. JAM 1.20  User's Guide                                           Page  9
  359. ------------------------------------------------------------------------
  360.  
  361.                     1.2. Basic concepts of the JAM
  362.  
  363. Using the JAM, it is possible to compress either the whole disk or a
  364. part of it. In both cases the compressed information is presented as a
  365. file called the JAM Archive File. The file can have any name with the
  366. ".JAM" extension and attributes making it inaccessible to modification.
  367.  
  368. Only the JAM driver will work with JAM archives. The JAM driver is
  369. loaded while the system initialization and is presented as one or more
  370. Logical Drives, each of them being assigned to an Archive File
  371. represents data on it as a standard DOS Disk Drive.
  372.  
  373. The amount of space on existing hard disk (called the Host Drive) which
  374. is occupied by the JAM Archive is called the Physical Capacity of the
  375. JAM drive. Physical capacity is, on average, only 40% (1 : 2.5) of the
  376. JAM Drive size reported by DOS. This value (called Logical Capacity of
  377. the JAM drive) means the largest quantity of data which may be stored
  378. on a Logical Drive.
  379.  
  380.                                    ,---------------------------.
  381.                                    :     JAM Device Driver     :
  382.                                    :---------------------------:
  383.     DOS Hard Disk Drives:          :   JAM Logical Drives:     :
  384.    +----+ +----+     +----+        :  +----+ +----+ +----+     :
  385.    | C: | | D: | ... | I: |     /---->| J: | | K: | | L: | ... :
  386.    +----+ +----+     +----+     |  :  +----+ +----+ +----+     :
  387.      ||                         |  `----||---------------------'
  388.    __\/_____________________    |     __\/____________________
  389.   +------------------------.|   |    +-----------------------.|
  390.   | Hard Disk Drive C:     ||   |    | JAM Logical Drive J:  ||
  391.   |------------------------||   |    |-----------------------||
  392.   |...                     ||   |    | Drive size = Log.cap. ||
  393.   |datafile1               ||   |    |   = 2.5 * Phys.cap.   ||
  394.   |datafile2               ||   |    |-----------------------||
  395.   |...                     ||   |    |...                    ||
  396.   |DISK1.JAM  JAM Archive >-----/    |bigdatafile1           ||
  397.   |  (Compressed Data)     ||        |bigdatafile2           ||
  398.   |  File size = Phys.cap. ||        |...                    ||
  399.   |...                     ||        |...                    ||
  400.   +------------------------+         +-----------------------+
  401.  
  402. For example, if you create on your Host Drive (say, drive C:) a JAM
  403. Archive file (say, file DISK1.JAM) with a size of 40M bytes, you will
  404. have a JAM drive (say, drive J:) with a Logical Capacity of 100M bytes.
  405.  
  406.  
  407. JAM 1.20  User's Guide                                           Page 10
  408. ------------------------------------------------------------------------
  409.  
  410. Nevertheless, the REAL amount of the data that can be stored on a JAM
  411. Drive (called Actual JAM Drive Capacity) directly relates to Average
  412. Compression Ratio achieved on it and Physical Capacity of the JAM
  413. Drive.
  414.  
  415. To provide you with the most likely amount of Actual Space Available on
  416. a JAM Drive at any given moment, the JAM driver reports to application
  417. programs its own Free Space estimate. This value (called Projected Free
  418. Space) is based on current Average Compression Ratio and both Physical
  419. and Logical Free Space available on a JAM Drive.
  420.  
  421. So, for example, the DOS DIR command being run on a JAM drive will
  422. always tell you Projected Free Space. To get extended JAM Drive
  423. statistics, including both Logical and Physical parameters you may
  424. use JCHKDSK utility.
  425.  
  426. Further detailed considerations regarding JAM Drives statistics and
  427. utilization are presented in Chapter 3. Using the JAM.
  428.  
  429.  
  430. JAM 1.20  User's Guide                                           Page 11
  431. ------------------------------------------------------------------------
  432.  
  433.                Chapter  2.  Getting Started With the JAM
  434.              =============================================
  435.  
  436.                          2.1. Before you begin
  437.  
  438. Before you begin the installation and use of the JAM, you must check
  439. that the following system requirements are met:
  440.  
  441.   * an IBM PC/XT/AT, PS/1, PS/2, or compatible computer with an Intel
  442.     80188/186+ or NEC V20/30 processor
  443.  
  444.   * PC-DOS/MS-DOS 3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7
  445.  
  446.   * and at least one hard disk.
  447.  
  448. Note: It is highly recommended to run a Disk Defragmentation utility on
  449.       your hard disk system (e.g. Gazelle Systems' OPTune, Golden Bow's
  450.       VOPT, Central Point Software's COMPRESS, Norton Utilities'
  451.       SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike) BEFORE installing the
  452.       JAM, as it may greatly improve system performance.
  453.  
  454.  
  455.                2.2. Installing the JAM on your hard disk
  456.  
  457. Your computer should be turned on and at the DOS prompt. If your
  458. computer normally runs a program automatically when you turn it on, you
  459. will need to exit from this program. You should have a prompt on your
  460. screen similar to:
  461.  
  462.     C:\>
  463.  
  464. Insert the diskette containing the original JAM distribution in your
  465. floppy drive, either A: or B:. Next, create a subdirectory for JAM on
  466. your hard drive. To do so type:
  467.  
  468.     C:\>MD JAM
  469.  
  470. Then change to this subdirectory.
  471.  
  472.     C:\>CD JAM
  473.     C:\JAM>
  474.  
  475. Now enter the name of the self-extracting archive file on your JAM
  476. disk, include the drive letter as part of the name.
  477.  
  478.     C:\JAM>A:JAM120
  479.  
  480. Note that the name of the self-extractor used throughout this manual
  481. (JAM120.EXE) may vary but will follow the pattern of JAM###.EXE where
  482. ### represents the version number of the software.
  483.  
  484. JAM 1.20  User's Guide                                           Page 12
  485. ------------------------------------------------------------------------
  486.  
  487. The contents of this file will now extract into the JAM subdirectory.
  488.  
  489. The A: and C: drives in the above command are only for example, and may
  490. be replaced with other drive letters as appropriate to your particular
  491. setup.
  492.  
  493. If you use Windows, you should move two files supplied with JAM package
  494. to Windows system directories. For example, if Windows is installed on
  495. drive C: you should type the following commmands:
  496.  
  497.     COPY JMOUNT.PIF C:\WINDOWS
  498.     DEL JMOUNT.PIF
  499.     COPY CTL3DV2.DLL C:\WINDOWS\SYSTEM
  500.     DEL CTL3DV2.DLL
  501.  
  502. Next, you should modify your AUTOEXEC.BAT file. You can edit this file
  503. with any editor that can load and save DOS TEXT or plain ASCII files
  504. (For example, "edit" in DOS 5.0, Windows Write, or any word processor
  505. with a DOS TEXT editing ability).
  506.  
  507. If you have DOS 5.0 type:
  508.  
  509.     C:\>EDIT AUTOEXEC.BAT
  510.  
  511. Look for a line in the file that says something similar to:
  512.  
  513. PATH=C:\;C:\DOS;(etc...)
  514.  
  515. Go to the end of this line and add a semicolon if one is not already
  516. there, and the drive and path to the JAM that you just created. For
  517. example "...;C:\JAM"
  518.  
  519. The line will now look like this:
  520.  
  521.     PATH=C:\;C:\DOS;C:\JAM
  522.  
  523. You will most likely have additional items between the C:\DOS; and
  524. C:\JAM.
  525.  
  526. Save the file and exit. You will have to re-boot your computer so that
  527. the changes take effect.
  528.  
  529. After you reboot type "path" at the command line and press [ENTER].
  530. Your machine will show the path.  Make sure that the subdirectory you
  531. placed the JAM files in is shown in the path.
  532.  
  533.  
  534. JAM 1.20  User's Guide                                           Page 13
  535. ------------------------------------------------------------------------
  536.  
  537.                     2.3. Creating JAM Archive File
  538.  
  539. Now, you should find an appropriate Host Drive. This is the physical
  540. drive on which you will create the JAM Archive File (You may refer to
  541. Appendix A in this manual to get familiar with the JAM terminology).
  542.  
  543. Then look how much free space has your Host Drive (say, drive D:),
  544. using, for example the DOS's DIR command:
  545.  
  546.     C:\>DIR D:
  547.  
  548. and determine amount of it you want to compress (in an example below we
  549. will allocate 1000K bytes for the JAM Archive File).  Please note, that
  550. amount of space you can define as a JAM Archive should not be less than
  551. 72K bytes and not greater than 512M bytes.
  552.  
  553. Finally, you should assign the name for new JAM File to create (say,
  554. FIRST) and type:
  555.  
  556.     C:\>JCREATE D:FIRST /A /S=1000
  557.  
  558. When this program finishes work it gives a display similar to this:
  559.  
  560.     JCREATE 1.20  Copyright (c) JAM Software, 1992-1994. All rights reserved.
  561.  
  562.     JAM file: D:\FIRST.JAM
  563.  
  564.            512 bytes in boot sector
  565.     +     1536 bytes in JAM descriptor table
  566.     +      512 bytes in file allocation table(s)
  567.     +     8192 bytes in root directory
  568.     +  2531328 logical / 1012224 physical bytes available for files
  569.     ---------------------------------------------------------------
  570.        2542080 logical / 1022976 physical bytes total on archive
  571.             40.0% (2.5 / 1.0) anticipated compression ratio
  572.  
  573. You may now verify that new JAM Archive is created. Type:
  574.  
  575.     C:\>JDIR D:FIRST /A /Q
  576.  
  577. at the DOS command prompt. After you press [ENTER] you should see a
  578. screen like:
  579.  
  580.      Volume in drive D: has no label
  581.      Directory of D:\
  582.  
  583.     FIRST JAM   1022976 04-01-94   8:00p
  584.             1 File(s)    1022976 bytes
  585.                          3956736 bytes free
  586.  
  587.  
  588. JAM 1.20  User's Guide                                           Page 14
  589. ------------------------------------------------------------------------
  590.  
  591.                  2.4. Installing the JAM device driver
  592.  
  593. Next, you should modify your CONFIG.SYS file. Here you also can
  594. edit this file with any text editor. If you have DOS 5.0 type:
  595.  
  596.     C:\>EDIT CONFIG.SYS
  597.  
  598. and insert two lines at the top of file:
  599.  
  600.     DEVICE=C:\JAM\JAM.SYS
  601.     DEVICE=C:\JAM\JMOUNT.COM D:\FIRST
  602.  
  603. Note, that the C:\JAM directory and D:\FIRST JAM Archive File name in
  604. the lines above are only for example, and may be replaced with other
  605. names as appropriate to your particular setup.
  606.  
  607. If you use Windows, you should now modify your SYSTEM.INI file. Type:
  608.  
  609.     C:\>EDIT C:\WINDOWS\SYSTEM.INI
  610.  
  611. and add the following command to the [386Enh] section:
  612.  
  613.      ReflectDOSInt2A=TRUE
  614.  
  615. Save the file and exit.  In order to start using the JAM Drive you have
  616. just created, you will have to re-boot your computer at this time.
  617.  
  618.  
  619.       YOUR FIRST JAM DRIVE IS READY FOR IMMEDIATE USE. GOOD LUCK!
  620.  
  621. JAM 1.20  User's Guide                                           Page 15
  622. ------------------------------------------------------------------------
  623.  
  624.                       Chapter  3.  Using the JAM
  625.                     ===============================
  626.  
  627.                              3.1. General
  628.  
  629. From the user's point of view, the JAM drive may be regarded as a
  630. standard DOS drive operating like any other drive in the system. You
  631. may use any DOS command such as COPY, DEL, or DIR with it, use it as a
  632. file directory for your word-processing or spreadsheet software, store
  633. archive and historical information in it to save space, or even store
  634. program files (those with the .EXE or .COM extension) and run them from
  635. the JAM Logical Drive.
  636.  
  637. You may use your applications with the JAM drive without any
  638. alterations, just as with a standard drive. The JAM software operates
  639. behind the scenes in a completely transparent manner. As far as you
  640. are concerned, the information is stored and retrieved from the JAM
  641. drive as if it was a standard disk drive, without any external
  642. interventions, except for one significant difference: the information
  643. stored on the JAM drive takes up on average 40% of the space the same
  644. information would occupy on a standard DOS disk drive.
  645.  
  646.  
  647. JAM 1.20  User's Guide                                           Page 16
  648. ------------------------------------------------------------------------
  649.  
  650.               3.2. Viewing the contents of the JAM Drives
  651.  
  652. You may use the DOS DIR command to view the contents of the JAM Drives.
  653. However, in some cases, you may also need to know how well the files on
  654. the JAM drive are compressed (or in other words -- how much physical
  655. space they use).
  656.  
  657. To obtain accurate information regarding the JAM Drive contents and
  658. status (which cannot be obtained from DOS or any other external
  659. utility), you must use the JAM JDIR command.  The syntax of the JDIR
  660. (see Chapter 4 - Command Reference for details) is almost the same as
  661. DOS DIR command, except for /C switch -- allowing you to show the files'
  662. and average Compression Ratio on the JAM Drive.
  663.  
  664. For example, the command:
  665.  
  666.     JDIR J:\WINDOWS\*.DLL /C
  667.  
  668. will produce the screen like:
  669.  
  670.     JDIR 1.20  Copyright (C) JAM Software, 1992-1994. All rights reserved.
  671.  
  672.      Volume in drive J: is WINDOWS
  673.      Directory of J:\WINDOWS
  674.  
  675.     CARDS    DLL    148528 09-13-91   4:30p   26.64%
  676.     MGRLIB   DLL     29712 06-01-92   3:50p   43.75%
  677.     MORICONS DLL    118864 03-10-92   3:10a   29.17%
  678.     PBRUSH   DLL      6766 03-10-92   3:10a   62.50%
  679.     RECORDER DLL     10414 03-10-92   3:10a   46.88%
  680.     WEPUTIL  DLL     19200 09-13-91   4:30p   39.58%
  681.                           31.68% average compression ratio
  682.             6 File(s)     333484 bytes
  683.                          1238450 bytes free
  684.  
  685. The Compression Ratio is calculated based on the Logical and Physical
  686. space occupied by file (or by group of files):
  687.  
  688.                                     Physical Bytes Allocated
  689.         Compression Ratio = 100 * ----------------------------
  690.                                     Logical Bytes Allocated
  691.  
  692. (Refer to Appendix A in this manual to get familiar with DOS and JAM
  693. file organization).
  694.  
  695.  
  696. JAM 1.20  User's Guide                                           Page 17
  697. ------------------------------------------------------------------------
  698.  
  699. Thus file MORICONS.DLL (on example above) on Logical level occupies 15
  700. 8K bytes' clusters (i.e. 15 * 8K = 120K = 116K(file size) + 4K(slack)),
  701. but its Physical (compressed) size is only:
  702.  
  703.         Compression Ratio * Logical Size      29.17 * 120K
  704.       ------------------------------------ = -------------- = 35K.
  705.                      100                          100
  706.  
  707. Note, that the JDIR calculates and reports summary information only for
  708. the files which were specified in the search criteria (in the example
  709. above we have used *.DLL file specification).
  710.  
  711. To determine the Overall Compression Ratio of a JAM Drive, type:
  712.  
  713.     JDIR J:\*.* /S
  714.  
  715. (switch /S makes files in all subdirectories included in the listing).
  716.  
  717.  
  718. JAM 1.20  User's Guide                                           Page 18
  719. ------------------------------------------------------------------------
  720.  
  721.           3.3. Extended JAM Drive statistics and utilization
  722.  
  723. The JCHKDSK utility program verifies the integrity of the JAM Drive,
  724. and provides you with statistical information regarding the overall
  725. disk usage, utilization, Compression Ratio, and the Logical, Physical
  726. and Projected Free Space currently available.
  727.  
  728. JCHKDSK displays a status report similar to the following example:
  729.  
  730. Volume in drive D: is WINDOWS
  731. Volume Serial Number is 11D1-223F
  732.  
  733.    JAM logical drive D:                 JAM file: C:\JAM\MNT\WINDOWS.JAM
  734.  
  735.  150142976 bytes total disk space        60057088 bytes total archive space
  736.      81920 bytes in 2 hidden files          59392 bytes in 2 hidden files
  737.    1654784 bytes in 202 directories       1654784 bytes in 202 directories
  738.  113655808 bytes in 2824 user files      53265920 bytes in 2824 user files
  739.   34750464 bytes available on disk        5078016 bytes free on archive
  740.  
  741.            47.65% average compression ratio (2.1:1)
  742.    7577600 bytes projected free space
  743.  
  744.     655360 bytes total memory
  745.     400592 bytes available memory
  746.  
  747.  
  748. The data on the left half of the screen shows the JAM Logical Drive
  749. usage, the data on the right side -- JAM Archive File information
  750. (Physical space usage).
  751.  
  752. The Projected Free Space is calculated based on the Physical Total
  753. Space, Logical and Physical Free Space reported.  The recalculation
  754. formulae is:
  755.  
  756.  Projected Free Space = Log.Free Space * Xi + Phys.Free Space * (1 - Xi),
  757.  
  758.                             Physical Free Space
  759. where:              Xi = --------------------------
  760.                             Physical Total Space
  761.  
  762. is the Physical Space Usage Ratio.
  763.  
  764. When archive is empty, Xi is equal 1 and Projected Free Space is equal
  765. to Logical Free Space. Otherwise, when archive is almost full, Xi comes
  766. to 0, and Projected Free Space will be near to Physical Free Space.
  767.  
  768. The JAM driver also calculates the Projected Free Space and uses it to
  769. replace the Logical Free Space value reported by DOS. Thus, almost all
  770. application programs (for example Windows File Manager, XTreeGold,
  771. Norton Commander, or standard DOS DIR command) will always display
  772. recalculated number of bytes available on JAM drives, providing you
  773. with the most likely amount of space you will use.
  774.  
  775.  
  776. JAM 1.20  User's Guide                                           Page 19
  777. ------------------------------------------------------------------------
  778.  
  779.                       3.4. Optimizing JAM Drives
  780.  
  781. Like for a standard DOS drive, extended reading and writing of a JAM
  782. compressed drive may cause diminished performance due to scattering of
  783. the data throughout the disk.
  784.  
  785. To eliminate this problem on a standard disk drive you may run a
  786. standard DISK DEFRAGMENTATION UTILITY (e.g Central Point Software's
  787. COMPRESS, Norton Utilities' SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike).
  788. Although having run standard defragmentation utility on a JAM drive, you
  789. will probably NOT improve your system's performance (*).
  790.  
  791. To perform proper (and completely safe) optimization of the JAM
  792. compressed drive, you should run a JMAX utility, which comes with the
  793. JAM package. This utility provides several types of disk optimizations,
  794. including ReCompression, and Defragmentation of data on the JAM File.
  795.  
  796. ReCompress  - packs JAM compressed files tigther to give you up to
  797.               40% (!) more available space on your compressed drive.
  798.               In addition, this optimization can significantly increase
  799.               speed of the data extraction, and as a result, your disk
  800.               will work up to 10-20% faster (!).
  801.  
  802. Defragment  - places all data of the files in consecutive sectors on
  803.               the disk.
  804.  
  805. For example, to optimize JAM drive J, you would type the following at
  806. the command prompt:
  807.  
  808.     JMAX J:
  809.  
  810. To optimize the current drive, type the following command:
  811.  
  812.     JMAX
  813.  
  814. Note that JMAX utility is quite smart - it would not do its job for a
  815. second time. So, you can recompress your JAM drive on weekly or even
  816. daily basis, not worrying about long time it takes to execute - if you
  817. have changed only one file on your JAM disk, JMAX would recompress only
  818. this file.
  819. ----------
  820. (*) The point is that data organization on the JAM Archive File is NOT
  821. the same as on the JAM Logical Drive (see Appendix C for details), and
  822. to write data on the JAM drive, JAM.SYS uses own (specific for variable-
  823. length blocks) allocation algorithm. In other words, when standard
  824. defragmenter calls the JAM driver to write some data to a certain
  825. location on the Logical Drive, JAM.SYS will compress and write it to the
  826. first appropriate block of currently available (unallocated) sectors on
  827. the Archive File. As a result, we will have a JAM Drive with well orga-
  828. nized logical structure, and highly fragmented data on physical level.
  829.  
  830. Moreover, when the JAM archive file is almost full, such defragmenters
  831. may actually DAMAGE the compressed data (most of them simply cannot
  832. handle device errors correctly -- they may modify the FAT and directory
  833. information, even if file's data(clusters) have not been written).
  834.  
  835.  
  836. JAM 1.20  User's Guide                                           Page 20
  837. ------------------------------------------------------------------------
  838.  
  839.                       3.5. Backing up JAM drives
  840.  
  841. Since the JAM drive appears to DOS as a standard disk drive, you can
  842. use standard backup utilities such as the DOS BACKUP command, the
  843. FASTBACK program, or similar backup programs, all of which perform the
  844. backup on a file-by-file basis. All you need do is specify the drive
  845. letter for the JAM drive as a source drive.
  846.  
  847. With the JAM, you can perform a super-fast backup on your entire JAM
  848. drive. It should be clarified that the JAM drive is actually a DOS file
  849. that resides on the Host drive, though it may not be displayed by
  850. standard DOS commands such as DIR (in case if this file is actually a
  851. hidden file).
  852.  
  853. This file (representing the JAM drive) contains all of your compressed
  854. files and may be backed up using your standard backup procedure, through
  855. which you will realize two additional benefits:
  856.  
  857.   * The overall backup time is significantly reduced (backing up
  858.     one big file is much faster than backing up many small files)
  859.  
  860.   * The space required for the backup is reduced to a minimum since the
  861.     files are compressed. On average, you will need one-half the number
  862.     of diskettes or other backup media when using JAM than you would
  863.     otherwise require.
  864.  
  865. Furthermore, the size of the JAM drive can be reduced to its absolute
  866. minimum by using the "-" (shrink) option in the JSIZE utility program
  867. before starting the backup procedure, thus eliminating the backup of
  868. unused space in the JAM archive.
  869.  
  870. Use the JMOUNT utility to obtain the DOS file name of the archive
  871. attached to the JAM drive, and to unmount it. Then use the JSIZE
  872. utility to shrink the size of archive, and finally -- use your usual
  873. backup utilities to backup this file.
  874.  
  875. For example, if you want to backup your JAM drive E:, JMOUNT will
  876. display a name such as:
  877.  
  878.     JAM drive E: --> C:\WINDOWS.JAM
  879.  
  880. Run JMOUNT /D E: to unmount this file, and run JSIZE C:\WINDOWS.JAM -
  881. to reduce the size of archive C:\WINDOWS.JAM to its absolute minimum
  882. (you can restore its size later using "+" (extend) option of JSIZE).
  883. Then use your usual backup utility -- for example, DOS BACKUP command
  884. -- as follows:
  885.  
  886.     BACKUP C:\WINDOWS.JAM A:
  887.  
  888. JAM 1.20  User's Guide                                           Page 21
  889. ------------------------------------------------------------------------
  890.  
  891. Later, to restore the JAM archive, enter:
  892.  
  893.     JMOUNT /D E:
  894.     C:
  895.     CD \
  896.     RESTORE A: C:\WINDOWS.JAM
  897.     JMOUNT C:\WINDOWS.JAM E:
  898.  
  899.  
  900. Note: Instead of using JMOUNT, you may run Windows-based JMW utility
  901.       (see section 3.7 for details).
  902.  
  903. JAM 1.20  User's Guide                                           Page 22
  904. ------------------------------------------------------------------------
  905.  
  906.                     3.6. UnDelete operation support
  907.  
  908. The JAM package enables you to use utility programs (e.g. MS-DOS's
  909. (Central Point Software's) Undelete, Norton Utilities' Quick-Unerase,
  910. etc.) to perform UnDelete operations on erased files residing on JAM
  911. drives.
  912.  
  913. For each logical drive, the JAM driver maintains a special
  914. [DirectWrite] flag which is essential for proper UnDelete utilities
  915. operation (specifically, being set to ON it enables Direct Write
  916. operations, used by certain low-level disk programs, including UnDelete
  917. utility). By default, this flag is set to OFF, and this should be
  918. normal setting.  This flag should be set to ON before attempting to
  919. UnDelete files on the JAM drive, then it should be reset to OFF.
  920.  
  921. To show and modify current status of the [DirectWrite] flag for some
  922. specified JAM drive (say, drive J:), you should use the JMOUNT utility.
  923.  
  924. Before using the UnDelete utilities, issue the following command:
  925.  
  926.     JMOUNT J: /W+D
  927.  
  928. Now you can perform the UnDelete activities as desired. After these
  929. activities are completed, issue the following command:
  930.  
  931.     JMOUNT J: /W-D
  932.  
  933. Executing JMOUNT without any parameters will report the JAM drives list
  934. including current [DirectWrite] flag status.
  935.  
  936. Further detailed considerations regarding the JMOUNT utility, special
  937. UnDelete-compatible mode, and other JAM drive flags are presented in
  938. Section 4.3 "The JMOUNT Utility".
  939.  
  940. Note: Instead of using JMOUNT, you may run Windows-based JMW utility
  941.       (see section 3.7 for details).
  942.  
  943.  
  944. JAM 1.20  User's Guide                                           Page 23
  945. ------------------------------------------------------------------------
  946.  
  947.                     3.7. Using the JAM with Windows
  948.  
  949. The JMW utility is a companion application to the JAM device driver.
  950. It provides you with information about existing JAM drives, and allows
  951. you to alter the access mode of each JAM drive.
  952.  
  953. Through JMW you can easily change the state of your JAM drives without
  954. the necessity to switch to the DOS box and specify list of parameters
  955. for JMOUNT utility.
  956.  
  957. Note: Current version of JMW works just as a front-end for JMOUNT,
  958.       which means that the JMOUNT.PIF file must be in Windows directory
  959.       and must contain true path to the JMOUNT.COM program for JMW to
  960.       work.
  961.  
  962. When run, JMW will display a dialog window containing a list of all
  963. existing JAM drives, information about selected drive (including
  964. logical capacity and amount of projected free space, current drive
  965. setting, the name of JAM file attached to the drive), and the set of
  966. buttons which are used to control JMW.
  967.  
  968. Mounting a JAM archive with JMW
  969.  
  970. To mount a JAM archive on selected drive, you may either click on the
  971. "JAM Archive File" box and specify the name of file to mount, or click
  972. on the "Find" button to activate file search dialog to find the JAM
  973. archive file.  Once the file name is specified you should click the
  974. "Mount" button.  JMW will automatically execute JMOUNT to perform the
  975. connection.
  976.  
  977. Unmounting a JAM drive with JMW
  978.  
  979. To unmount a JAM drive, select the drive in drive list box, and then
  980. click on the "Unmount" button. Once the drive will be unmounted, the
  981. name of archive in "JAM Archive file" box will be replaced by the
  982. string "not attached".
  983.  
  984. Setting access mode of a JAM drive with JMW
  985.  
  986. To change the access mode of a JAM drive, select the drive in drive
  987. list box, and click corresponding checkbox in "Access mode" section.
  988. There are two main possible settings: Read-Only and Read-Write mode.
  989. If you choose Read-Write mode you can also specify the following
  990. options:
  991.  
  992.   - Direct Write     -- allows you to run low-level utilities on JAM
  993.                         drives; for instance you will need to switch
  994.                         this mode to perform Undelete activities
  995.  
  996. JAM 1.20  User's Guide                                           Page 24
  997. ------------------------------------------------------------------------
  998.  
  999.   - Write caching    -- if write caching is enabled, JAM will delay
  1000.                         writes to the disk to avoid extra I/O and
  1001.                         compression operations; this can dramatically
  1002.                         improve performance when writing to the disk
  1003.  
  1004.   - Zero compression -- disables on-the-fly compression; sometimes
  1005.                         this can improve system performance when some
  1006.                         large packages are running
  1007.  
  1008.   - Undelete support -- switches the JAM drive in Undelete-compatible
  1009.                         mode; this makes chances to undelete your
  1010.                         compressed files better, but requires extra
  1011.                         disk space to temporary store them.
  1012.  
  1013. Then you will have to click "Reset" button so that the changes take
  1014. effect.
  1015.  
  1016. JAM 1.20  User's Guide                                           Page 25
  1017. ------------------------------------------------------------------------
  1018.  
  1019.                     Chapter  4.  Command Reference
  1020.                   ==================================
  1021.  
  1022. This chapter consists of summary information about the JAM device driver
  1023. and the other JAM utilities. For each program, full command-line syntax,
  1024. notes regarding some advanced features, and examples on usage are
  1025. provided. For full list of error messages, see Appendix B.
  1026.  
  1027.  
  1028.                        4.1. The JCREATE utility
  1029.                      ----------------------------
  1030.  
  1031. Creates an empty JAM Archive file by using free space on an uncompres-
  1032. sed drive. Being mounted as a JAM drive, Archive File will provide more
  1033. storage capacity than the amount of space it uses.
  1034.  
  1035. Syntax
  1036.  
  1037.     JCREATE [drive:][\][path\]filename[.ext] [/A[:][attributes]]
  1038.         [/S=size] [/R=ratio] [/C=clustsiz] [/F=fats] [/D=dirsiz]
  1039.         [/V[label]] [/X] [/Q]
  1040. or
  1041.     DEVICE=[drive2:][\][path2\]JCREATE.COM
  1042.         [drive:][\][path\]filename[.ext] [/A[:][attributes]]
  1043.         [/S=size] [/R=ratio] [/C=clustsiz] [/F=fats] [/D=dirsiz]
  1044.         [/V[label]] [/X] [/Q]
  1045.  
  1046. Parameters
  1047.  
  1048. [drive:][\][path\]
  1049.     Full or relative path of the file to create. This is optional part
  1050.     of the name of file to create. If you omit it, JCREATE uses current
  1051.     DOS drive/directory to create file. In any case drive that contains
  1052.     the space you want to use to create new drive SHOULD BE
  1053.     UNCOMPRESSED.
  1054.  
  1055. filename[.ext]
  1056.     Specifies the name of the JAM file to create. If you omit the
  1057.     filename extension, JCREATE uses ".JAM".
  1058.  
  1059. [drive2:][\][path2\]
  1060.     Specifies the location of the JCREATE.COM file.
  1061.  
  1062.  
  1063. JAM 1.20  User's Guide                                           Page 26
  1064. ------------------------------------------------------------------------
  1065.  
  1066. Switches
  1067.  
  1068. /A[:][attributes]
  1069.     Specifies attributes to be assigned to the new JAM Archive file.
  1070.     If you omit this switch, JCREATE clears all file attributes except
  1071.     for read-only flag. If you use this switch without specifying
  1072.     attributes, JCREATE sets system, hidden and read-only flags to
  1073.     prevent Archive File removing, modification and physical
  1074.     reallocation by disk-optimizing programs.
  1075.  
  1076.     The following list describes each of the values you can use for
  1077.     attributes. The colon (:) is optional. Use any combination of these
  1078.     values, and do not separate the values with spaces.
  1079.  
  1080.     +H or H      Makes file hidden (unmovable during disk optimization)
  1081.  
  1082.     -H           Makes file visible
  1083.  
  1084.     +S or S      Makes a system file
  1085.  
  1086.     -S           Removes system flag
  1087.  
  1088.     +A or A      Make file ready for archiving (backup)
  1089.  
  1090.     -A           Prohibits file archiving
  1091.  
  1092.     +R or R      Makes file read-only
  1093.  
  1094.     -R           Makes file accessible for modifications
  1095.  
  1096. /S=size
  1097.     Amount of space in K-bytes (72 <= size <= 524288) to allocate for
  1098.     the JAM Archive File. If you omit this switch, JCREATE uses all
  1099.     available space on drive for the file.
  1100.  
  1101. /R=ratio
  1102.     Sets maximum logical size of the JAM Archive by specifying an
  1103.     anticipated compression ratio (percentage of compressed size /
  1104.     original size):
  1105.  
  1106.     ratio = 100 % -> 1.0:1 (zero compression), ... ,
  1107.  
  1108.     ratio =  40 % -> 2.5:1 (default value for compression ratio), ... ,
  1109.  
  1110.     ratio =  10 % ->10.0:1 (maximum compression).
  1111.  
  1112. /C=clustsiz
  1113.     Sets cluster size, in K-bytes, for the JAM Archive File. Using this
  1114.     switch you may specify either 4K or 8K (default value) clusters.
  1115.  
  1116.  
  1117. JAM 1.20  User's Guide                                           Page 27
  1118. ------------------------------------------------------------------------
  1119.  
  1120. /F=fats
  1121.     Sets the number of FAT (DOS File Allocation Table) copies. If you
  1122.     omit this switch JCREATE initializes one File Allocation Table on
  1123.     new JAM Archive File. If your system does not work with disk drives
  1124.     having only one FAT, you need to set this parameter to 2.
  1125.  
  1126. /D=dirsiz
  1127.     Sets the maximum number of root directory entries. Values supported
  1128.     are: 64, 128, 256, or 512. If you omit this switch JCREATE
  1129.     initializes 256 entries in root directory.
  1130.  
  1131. /V[label]
  1132.     Specifies the JAM-drive volume label. If you use this switch
  1133.     without specifying name to be assigned to volume label, JCREATE
  1134.     doesn't create label on new JAM Archive. If you omit this switch,
  1135.     JCREATE uses filename string to make volume label.
  1136.  
  1137. /X[=maxsize]
  1138.     Creates an extendable JAM archive (i.e. archive file, which size
  1139.     can be extended by the JSIZE utility).  The maxsize parameter
  1140.     specifies maximum possible size (in K-bytes) of the JAM archive
  1141.     file. If not specified, all host drive capacity is used.
  1142.  
  1143. /Q
  1144.     Quiet mode (does not display copyright and status information).
  1145.  
  1146. Notes
  1147.  
  1148. Before you run JCREATE ...
  1149.  
  1150. It is strongly recommended TO TEST AND DEFRAGMENT your disk BEFORE you
  1151. create any archive file. By doing so you will avoid numerous possible
  1152. problems, and ensure maximum performance of compressed drive you will
  1153. create.
  1154.  
  1155. JAM Archive File attributes
  1156.  
  1157. Using JCREATE with /A switch will also protect your new Archive file
  1158. from occasionally removing, modification and physical reallocation.
  1159.  
  1160. Do not use DISK DEFRAGMENTATION UTILITIES (e.g Central Point Software's
  1161. COMPRESS, Norton Utilities' SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike)
  1162. when you have mounted JAM Archive files which do not have HIDDEN and/or
  1163. SYSTEM attribute set.  Doing so can result in relocating compressed JAM
  1164. volumes without noticing JAM driver, thus causing serious data loss and
  1165. corruption.  Either UNMOUNT JAM Archives prior to disk optimization
  1166. (see Section 4.3 for details) or give them HIDDEN attribute with
  1167. JCREATE or DOS ATTRIB program.
  1168.  
  1169. Archives with 4K and 8K bytes clusters
  1170.  
  1171. Using JCREATE you may initialize JAM archives with either 4K or 8K
  1172. clusters. The main advantage of archives with 4K bytes clusters is
  1173. possibility to load JAM driver with small buffers (see JAM.SYS /C
  1174. switch). In this case JAM.SYS will need only 24K bytes of memory to
  1175. work with such archive. Opposite reason is the better compression ratio
  1176. (usually +5..10%) achieved on drives with 8K bytes clusters.
  1177.  
  1178.  
  1179. JAM 1.20  User's Guide                                           Page 28
  1180. ------------------------------------------------------------------------
  1181.  
  1182. Extendable JAM archives
  1183.  
  1184. Using /X switch it is possible to create a JAM archive which size can
  1185. be easily extended by JSIZE utility. This feature can be used to
  1186. perform an incremental compression of hard disk with existing files.
  1187. I.e. you can make a small archive file, using available free space on
  1188. your hard disk, then move some files from the host drive on the JAM
  1189. one, then extend size of JAM archive, and so on.
  1190.  
  1191. The main disadvantage of extendable archives is extra space which they
  1192. require to store allocation structures (JDT+FAT). For example, an
  1193. extendable archive with actual size=500K and maxsize=256M, will use
  1194. 384K to store JDT+FAT, and just 116K -- for compressed data.
  1195.  
  1196. Initializing RAM drive for compression
  1197.  
  1198. Using the JAM it is possible to enlarge size of the RAM-drive on your
  1199. PC as well as its hard-disk capacity. To do it you should simply create
  1200. JAM Archive File on your RAM disk and then mount it as a JAM drive.
  1201. To allow you perform all these steps in the most convenient way, we made
  1202. file JCREATE.COM both an executable program and a device driver. An
  1203. example of running JCREATE from CONFIG.SYS file is given below.
  1204.  
  1205. Examples
  1206.  
  1207. To create a new JAM Archive file that uses all available space on
  1208. uncompressed drive E, type the following command:
  1209.  
  1210.     JCREATE E:TEST1
  1211.  
  1212. To create a new JAM Archive File by using 10 MB of space on uncompressed
  1213. drive E, type the following command:
  1214.  
  1215.     JCREATE E:TEST2 /s=10240
  1216.  
  1217. To create a new JAM Archive File by using 10M of space on uncompressed
  1218. drive E, and to direct the JAM driver to recalculate free space on it
  1219. using anticipated compression ratio 25% (4.0 to 1), type the following
  1220. command:
  1221.  
  1222.     JCREATE E:TEST3 /s=10240 /r=25
  1223.  
  1224. To initialize RAM-drive R: for compression during system start-up, you
  1225. may add the following line into your CONFIG.SYS file:
  1226.  
  1227.     DEVICE=C:\JAM\JCREATE.COM /Q R:\RAM-DISK.JAM
  1228.  
  1229. (switch /Q prevents display status messages on your display).
  1230.  
  1231. JAM 1.20  User's Guide                                           Page 29
  1232. ------------------------------------------------------------------------
  1233.  
  1234.                       4.2. The JAM device driver
  1235.                     ------------------------------
  1236.  
  1237. The JAM device driver is a utility that provides access to your
  1238. compressed drives. To initialize it you should add the DEVICE command
  1239. for JAM.SYS driver to your CONFIG.SYS file.  Also you may use DOS's
  1240. DEVICEHIGH command or special LOADHI (HILOAD) programs (supplied with
  1241. QEMM or 386MAX packages) to load JAM.SYS to upper memory.
  1242.  
  1243. Syntax
  1244.  
  1245.     DEVICE=[drive:][\][path\]JAM.SYS [/M=maxmount] [/C=clustsiz]
  1246.          [/A=allocbufs] [/B=clustbufs] [/Q]
  1247. or
  1248.     DEVICEHIGH=[drive:][\][path\]JAM.SYS [/M=maxmount] [/C=clustsiz]
  1249.          [/A=allocbufs] [/B=clustbufs] [/Q]
  1250.  
  1251. Parameter
  1252.  
  1253. [drive:][\][path\]
  1254.     Specifies the location of the JAM.SYS file.
  1255.  
  1256. Switches
  1257.  
  1258. /M=maxmount
  1259.     Specifies the number of mountable JAM drives. If you omit this
  1260.     switch, JAM.SYS initializes only one drive, that will be assigned
  1261.     to first available drive letter in DOS drive list. If you need to
  1262.     mount more than one JAM Archive File, you should specify the number
  1263.     of your files next to the /M= switch. JAM.SYS is able to support
  1264.     up to ten drives at the same time.
  1265.  
  1266. /C=clustsiz
  1267.     Specifies maximum cluster size (in Kbytes) of all JAM files to be
  1268.     mounted. If you omit this switch JAM.SYS will support Archives with
  1269.     either 4K or 8K clusters. If you need to mount JAM Files with only
  1270.     4K clusters you may set this parameter to 4. This will allow you
  1271.     reduce size of the JAM driver in memory by 8K.  More detailed
  1272.     information concerning memory consumption is given below.
  1273.  
  1274. /A=allocbufs
  1275.     Specifies the number of Allocation Buffers. These buffers JAM.SYS
  1276.     uses to speed-up access to JDTs (JAM drive Descriptor Table) on
  1277.     mounted Archive Files. By default the JAM driver uses one
  1278.     allocation buffer.
  1279.  
  1280. /B=clustbufs
  1281.     Specifies the number of Data Buffers. JAM.SYS uses these buffers to
  1282.     speed-up access to compressed clusters on mounted Archive Files. If
  1283.     you omit this switch JAM driver will use one buffer for
  1284.     compressible data.
  1285.  
  1286. /Q
  1287.     Quiet mode (does not display copyright and status information).
  1288.  
  1289.  
  1290. JAM 1.20  User's Guide                                           Page 30
  1291. ------------------------------------------------------------------------
  1292.  
  1293. Notes
  1294.  
  1295. JAM.SYS and JMOUNT.COM
  1296.  
  1297. Unlike other real-time compressors (e.g. SuperStor or Stacker)
  1298. the JAM driver DOES NOT MOUNT ARCHIVE FILES AUTOMATICALLY. This means,
  1299. that any attempts to read from /write to a JAM drive will cause "Device
  1300. not ready" error (like when you forget to insert diskette in floppy-
  1301. drive), until you ASSIGN this drive to a JAM Archive file. To perform
  1302. such assignment you should run JMOUNT utility (either immediately after
  1303. loading JAM.SYS in CONFIG.SYS file or whenever else).
  1304.  
  1305. Loading programs from JAM-drives during system start-up
  1306.  
  1307. If you want to run a program that is placed on the JAM-drive from your
  1308. CONFIG.SYS or AUTOEXEC.BAT files, you should be sure that JAM.SYS was
  1309. installed and assigned to corresponding Archive File BEFORE you call
  1310. your program. Otherwise you will get error messages like "Unrecognized
  1311. command in CONFIG.SYS" or "Bad command or file name".
  1312.  
  1313. In any case, you should NOT move system files:
  1314.   * IO.SYS (or IBMBIO.COM in PC-DOS, DR-DOS, or Novell DOS),
  1315.   * MSDOS.SYS (or IBMDOS.COM),
  1316.   * HIMEM.SYS (or HIDOS.SYS),
  1317.   * EMM386.SYS (or any other Expanded Memory Manager that you use),
  1318.   * CONFIG.SYS (and the other system configuration files that you use),
  1319. and JAM utilities' files:
  1320.   * JAM.SYS and JMOUNT.COM
  1321. to the JAM drive.
  1322.  
  1323. JAM.SYS switches and their influence on memory consumption
  1324.  
  1325. The following table describes JAM.SYS memory usage:
  1326.  
  1327. -----------------------+--------------+-------------------------------
  1328. Object                 |    Parameter |          Object Size
  1329.                        |              | clustsiz = 8K   clustsiz = 4K
  1330. -----------------------+--------------+---------------+---------------
  1331. Driver itself          |        ----- |         22.2K |         18.2K
  1332. Each drive supported   | /M=maxmount  |          1.2K |          1.2K
  1333. Each allocation buffer | /A=allocbufs |          0.5K |          0.5K
  1334. Each cluster buffer    | /B=clustbufs |            8K |            4K
  1335. -----------------------+--------------+---------------+---------------
  1336. Total:         14.2K + 1.2K * maxmount + 0.5K * allocbufs
  1337.                      + 1K * (clustbufs +1) * clustsiz
  1338.  
  1339. Using internal cache system
  1340.  
  1341. To increase compressed drives performance, JAM.SYS uses two sets of disk
  1342. buffers. The first ones are used to speed-up access to JDTs (JAM Drive
  1343. Descriptor Table) on mounted Archive Files. Each allocation buffer has
  1344. 512 bytes (1 sector) of length and may consist of up to 128 clusters'
  1345. descriptors. It's quite enough to work with drives, whose overall size
  1346. is less than 10M. But, if your JAM drives have a large capacity, you
  1347. should enlarge this value. To choose the most suitable to your system
  1348. number of allocation buffers, use the following table:
  1349.  
  1350. JAM 1.20  User's Guide                                           Page 31
  1351. ------------------------------------------------------------------------
  1352.  
  1353. ---------------------+------------------------------------------------
  1354. JAM drive capacity   |     Recommended number of Allocation Buffers
  1355.                      |    clustsiz = 8K               clustsiz = 4K
  1356. ---------------------+------------------------+-----------------------
  1357.      <=  20M         |           4            |           8
  1358.      <=  40M         |           8            |          16
  1359.      <=  70M         |          15            |          30
  1360.      <= 100M         |          25            |          45
  1361.      >= 200M         | you should set /A=2 and use external disk cache
  1362. ---------------------+------------------------+-----------------------
  1363.  
  1364. The second set of buffers JAM.SYS uses to speed-up access to compressed
  1365. data on mounted Archive Files. These buffers contain EXPANDED data of
  1366. clusters that have been read from or that will be written to the disk.
  1367. Size of each data buffer is equal to the maximum cluster size supported
  1368. by the JAM driver and may be 4K or 8K bytes. So, using large number of
  1369. data buffers, you will take a lot of memory from DOS. We recommend you
  1370. to choose number of data buffers in range from 1 to 8 in accordance
  1371. with your speed/memory requirements.
  1372.  
  1373. Using external disk caches
  1374.  
  1375. The built-in JAM.SYS cache system provides speed-up only for your
  1376. compressed drives. Moreover, the JAM driver cache DOES NOT SUPPORT
  1377. background disk writing, reordering low-level i/o requests, special
  1378. hard disk read/write modes, and other advanced methods of disk
  1379. performance improvement that do not guarantee full safety for your
  1380. data.
  1381.  
  1382. In other words, the JAM.SYS internal cache system could not completely
  1383. replace a standard disk cache utility, e.g. SMARTDrive, HyperDisk,
  1384. Super PC-Kwik (or its OEMs: PC-Cache and Qualitas  Qcache), NCACHE2,
  1385. etc.
  1386.  
  1387. So, if you have one of these programs running with the JAM, you should
  1388. release some memory by resetting JAM.SYS's /A and /B switches. The
  1389. number of allocation buffers (/A switch) should not be larger than
  1390. number of currently supported JAM drives. The number of data buffers
  1391. (/B switch) may be 1.
  1392.  
  1393. Some modern disk caches (like SMARTdrive 4.0+, NCACHE2, NWCACHE, etc.)
  1394. intercept (and/or reorganize) requests to all (existing at the moment
  1395. of the cache initialization) DOS block device drivers, including the
  1396. JAM ones. This means, that the data on the JAM drives would be cached
  1397. TWICE:
  1398.   1. When DOS reads Original Data from/ writes to a JAM drive,
  1399.   2. When JAM driver reads Compressed Data from/ writes to a
  1400.      Host drive for the JAM Archive.
  1401.  
  1402. To prevent this effect (and to make work with your compressed data
  1403. more reliable) you should load your disk cache BEFORE JAM.SYS driver,
  1404. thus leaving only the second way for caching JAM drives.
  1405.  
  1406. JAM 1.20  User's Guide                                           Page 32
  1407. ------------------------------------------------------------------------
  1408.  
  1409. In addition, you can get additional speed-up for compressed drives
  1410. even if you use an external disk cache. The point is that external
  1411. cache program holds some data from physical disk (you CANNOT run cache
  1412. program over the JAM logical drives), thus these data ARE COMPRESSED,
  1413. and to make them visible for application programs JAM.SYS MUST EXPAND
  1414. them. When you use JAM driver's own disk cache buffers (see discussion
  1415. of /B switch above), this decompression overhead can be sometimes
  1416. avoided.
  1417.  
  1418. Example
  1419.  
  1420. To install JAM driver that supports 1 logical drive with 8K clusters
  1421. and uses 1 allocation and 1 data buffers, add to file CONFIG.SYS the
  1422. following line:
  1423.  
  1424.     DEVICE=C:\JAM\JAM.SYS
  1425.  
  1426.  
  1427. JAM 1.20  User's Guide                                           Page 33
  1428. ------------------------------------------------------------------------
  1429.  
  1430.                         4.3. The JMOUNT utility
  1431.                       ---------------------------
  1432.  
  1433. Shows JAM drive map, or mounts/unmounts JAM drives.
  1434.  
  1435. Unlike other real-time compressors (e.g. SuperStor or Stacker) the
  1436. JAM driver DOES NOT MOUNT ARCHIVE FILES AUTOMATICALLY. To perform a
  1437. connection between each your JAM Archive Files and JAM drive letters you
  1438. must run this utility. Thus you can set for each JAM drive its own
  1439. ACCESS MODE (see section Notes for details).
  1440.  
  1441. Syntax
  1442.  
  1443.     DEVICE=[drive1:][\][path1\]JMOUNT.COM [/M]
  1444.         [drive2:][\][path2\]filename[.jam] [drive3:] [/W[:][mode] | /R]
  1445.  
  1446.     DEVICE=[drive1:][\][path1\]JMOUNT.COM [/U] drive4: [/W[:][mode] | /R]
  1447.  
  1448.     DEVICE=[drive1:][\][path1\]JMOUNT.COM /D drive5:
  1449. or
  1450.     JMOUNT [/M]
  1451.         [drive2:][\][path2\]filename[.jam] [drive3:] [/W[:][mode] | /R]
  1452.  
  1453.     JMOUNT [/U] drive4: [/W[:][mode] | /R]
  1454.  
  1455.     JMOUNT /D drive5:
  1456.  
  1457. Parameters
  1458.  
  1459. [drive1:][\][path1\]
  1460.     Specifies the location of the JMOUNT.COM file.
  1461.  
  1462. [drive2:][\][path2\]
  1463.     Full or relative path of the file to mount. This is optional part
  1464.     of the file name. If you omit it, JMOUNT uses current DOS drive/
  1465.     directory to find file to mount.
  1466.  
  1467. filename[.ext]
  1468.     Specifies the name of the Archive file you want to mount. If you
  1469.     omit extension, JMOUNT uses ".JAM".
  1470.  
  1471. drive3:
  1472.     Specifies the drive letter to assign to the newly mounted
  1473.     compressed drive. This switch is optional; if you don't specify
  1474.     a drive letter, JMOUNT assigns the new drive the next available
  1475.     drive letter.
  1476.  
  1477. drive4:
  1478.     Specifies the drive for which you want to change the ACCESS MODE .
  1479.  
  1480. drive5:
  1481.     Specifies the drive you want to unmount.
  1482.  
  1483.  
  1484. JAM 1.20  User's Guide                                           Page 34
  1485. ------------------------------------------------------------------------
  1486.  
  1487. Switches
  1488.  
  1489. /M
  1490.     Establishes a connection between a JAM Archive File (filename[.jam]
  1491.     parameter) and a JAM drive letter (drive4: parameter), so that you
  1492.     can use the files the JAM file contains. This switch is optional;
  1493.     if you don't specify either /U, /W, /R or /D switches, JMOUNT
  1494.     performs this action, if 'filename' and 'drive4' parameters are
  1495.     found.
  1496.  
  1497. /W[:][mode]
  1498.     Allows write/modify data on the newly mounted compressed drive.
  1499.     This switch is optional; if you don't specify /R switch, JMOUNT
  1500.     sets compressed drive to read-write mode with disabled direct
  1501.     write, enabled write-behind caching, and standard allocation
  1502.     strategy (see section NOTES for details).
  1503.  
  1504.     The following list describes each of the values you can use for
  1505.     mode. The colon (:) is optional. Use any combination of the values,
  1506.     and do not separate these values with spaces.
  1507.  
  1508.     +C or C      enables write behind caching for the JAM-drive
  1509.  
  1510.     -C           disables write-behind caching for the JAM-drive
  1511.  
  1512.     +D or D      enables direct write to the JAM drive
  1513.  
  1514.     -D           disables direct write to the JAM drive
  1515.  
  1516.     +U or U      use fully undelete-compatible allocation strategy on
  1517.                  the JAM drive
  1518.  
  1519.     -U           use standard allocation strategy on the JAM drive
  1520.  
  1521.     +Z or Z      disables compression of data before writing
  1522.  
  1523.     -Z           enables compression
  1524.  
  1525. /R
  1526.     Sets read-only mode for the newly mounted compressed drive. You
  1527.     cannot use this switch in combination with /W[:][mode].
  1528.  
  1529. /U
  1530.     Resets access mode for already mounted JAM drive 'drive4:'. This
  1531.     switch is optional; if you don't specify /M or /D commands and
  1532.     either /W, or /R switches are specified, JMOUNT performs this
  1533.     action. You may use this switch to make your JAM drive accessible
  1534.     or inaccessible for writing, to enable or disable write behind
  1535.     caching, or to change its allocation strategy (see section NOTES
  1536.     for details).
  1537.  
  1538. /D
  1539.     Breaks the connection between the selected drive's compressed
  1540.     Archive File and its drive letter 'drive5:'. Unmounting a drive
  1541.     makes it temporarily unavailable.
  1542.  
  1543. /Q
  1544.     Quiet mode (does not display copyright and status information).
  1545.  
  1546.  
  1547. JAM 1.20  User's Guide                                           Page 35
  1548. ------------------------------------------------------------------------
  1549.  
  1550. Notes
  1551.  
  1552. Current JAM drive map
  1553.  
  1554. If you run JMOUNT with no parameters, it displays the current JAM drive
  1555. map. For each drive letter that refers to the JAM drive, JMOUNT shows
  1556. its Archive File and access mode (flags: [ReadOnly], [DirectWrite],
  1557. [NoCache], [StdUndel]).  In cases when the JAM drive is unmounted or is
  1558. engaged by another JAM utility (for example if JMAX is working), JMOUNT
  1559. displays status 'available' or 'locked' accordingly.
  1560.  
  1561. Mounting JAM drives Read-Only
  1562.  
  1563. By using /R switch, it is possible to protect all data on your JAM drive
  1564. from any modifications. This mode will be useful for drives that contain
  1565. executable files of some large packages, games, books and other
  1566. information you need not to modify. Usually such data occupy about 80%
  1567. and more of hard disk space and we recommend you to store and protect
  1568. it using the JAM package.
  1569.  
  1570. Control direct write requests
  1571.  
  1572. Another level of data protection on the JAM drives is presented by
  1573. the [DirectWrite] flag. This flag could be set/cleared by the /W[+|-]D
  1574. switches' combination. When [DirectWrite] flag is cleared (the default
  1575. setting), the JAM driver blocks all direct requests to write data.
  1576. These requests (DOS interrupt #26h, and non-DOS JAM driver calls) could
  1577. be produced only by some low-level disk utilities (e.g. Norton
  1578. Utilities' DiskEdit, DiskTools, UnErase, etc.). So, if you want to run
  1579. such an utility on the JAM drive, and COMPLETELY UNDERSTAND WHAT YOU
  1580. HAVE TO DO, you should remount it to allow direct writing. After these
  1581. activities are completed, run JMOUNT again to resume [DirectWrite]
  1582. protection.
  1583.  
  1584. Using write behind caching
  1585.  
  1586. The /W[+|-]C combination of switches allows you to control the JAM
  1587. internal cache system. By the default, the JAM driver uses write behind
  1588. caching. This means that if JAM driver receives two or more requests to
  1589. write data into the same group of adjacent sectors, and this area could
  1590. be covered by JAM.SYS data buffers, then this area will be compressed
  1591. and physically written only once. To make such optimization completely
  1592. safe, the JAM driver keeps data in buffers only while DOS writes files,
  1593. and flushes them when DOS finishes this work (i.e. when you close file).
  1594. Nevertheless, having run JMOUNT utility with /W-C parameter you will
  1595. force JAM.SYS write all data on disk immediately.  This mode could be
  1596. useful, for example, for system programmers, when they are debugging
  1597. their programs, or doing everything else which may hang system in any
  1598. moment.
  1599.  
  1600. JAM 1.20  User's Guide                                           Page 36
  1601. ------------------------------------------------------------------------
  1602.  
  1603. The JAM allocation strategies
  1604.  
  1605. The JAM driver provides two alternative strategies of managing space in
  1606. JAM Archive files. The first (default) strategy allows you efficiently
  1607. use JAM Drive Physical Space, but has some limitations on possibility
  1608. of successful file UnDelete operations. In other words, we can guarantee,
  1609. that you will successfully UnDelete file only if you will run UnDelete
  1610. utility IMMEDIATELY after the file was deleted. In other cases (if some
  1611. data has been written to the JAM drive) even if your UnDelete utility
  1612. reports that file is successfully recovered, you could find some
  1613. corrupted clusters (containing garbage or zeros) in it.
  1614.  
  1615. You will avoid this problem if you choose the second (Full Undelete
  1616. Compatible) strategy. Working in this mode it is always possible to
  1617. recover deleted files, if standard UnDelete utility tells that they are
  1618. not damaged. But this method has one disadvantage -- excessive Physical
  1619. Space usage. For example, immediately after deleting some of your files
  1620. you will have slightly less amount of additional Physical Free Space
  1621. than overall Physical Size of files deleted. To force JAM driver use
  1622. all Available Physical Space in this mode, you should run JMAX utility
  1623. with /C switch to clear (deallocate) all information in pending deleted
  1624. files.
  1625.  
  1626. Zero compression mode
  1627.  
  1628. Because some files does not compress well, and some applications take
  1629. too long to perform operations on compressed data, JMOUNT utility lets
  1630. you control the compression process. Use /W+Z combination of
  1631. switches to disable compression of data before writing, and /W-Z --
  1632. to enable it.
  1633. To mount the compressed Archive File TEST.JAM located on default
  1634. drive/directory, as first available JAM drive (say, drive J:), you
  1635. would type the following:
  1636.  
  1637.     JMOUNT /M TEST J:
  1638.  
  1639. or just:
  1640.  
  1641.     JMOUNT TEST
  1642.  
  1643. To make JAM drive J: read-only, you would type the following:
  1644.  
  1645.     JMOUNT /U /R J:
  1646.  
  1647. or just:
  1648.  
  1649.     JMOUNT /R J:
  1650.  
  1651. To unmount compressed drive J, type the following command:
  1652.  
  1653.     JMOUNT /D J:
  1654.  
  1655.  
  1656. JAM 1.20  User's Guide                                           Page 37
  1657. ------------------------------------------------------------------------
  1658.  
  1659.                          4.4. The JDIR utility
  1660.                        -------------------------
  1661.  
  1662. The purpose and usage of this program is very similar to the one of
  1663. DOS's "DIR" command. The same as "DIR", JDIR displays a list of the
  1664. files and subdirectories that are in the directory you specify.
  1665.  
  1666. JDIR supports all standard switches of the MS-DOS 6.XX "DIR" and
  1667. provides a lot of advanced features, e.g. displays files' attributes,
  1668. displays files' fragmentation, detects allocation errors, etc.
  1669.  
  1670. In addition, being run on the JAM drive, JDIR is able to calculate and
  1671. show the compression percentage of files matched, and their average
  1672. compression ratio.
  1673.  
  1674. When you use JDIR without parameters or switches, it displays the
  1675. disk's volume label and serial number; one directory or filename per
  1676. line, including the filename extension, the file size in bytes, and the
  1677. date and time the file was last modified; and the total number of files
  1678. listed, their cumulative size, and the free space (in bytes) remaining
  1679. on the disk.
  1680.  
  1681. Syntax
  1682.  
  1683.     JDIR [drive:][\][path\][filename][.ext] [/P] [/W] [/A[:][attributes]]
  1684.          [/O[:][sortorder]] [/S] [/B] [/L] [/C[format]] [/F] [/K] [/M]
  1685.          [/T] [/U] [/Q]
  1686.  
  1687. Parameters
  1688.  
  1689. [drive:][\][path\]
  1690.     Specifies the drive and directory for which you want to see a
  1691.     listing.
  1692.  
  1693. [filename][.ext]
  1694.     Specifies a particular file or group of files for which you want to
  1695.     see a listing.
  1696.  
  1697. JAM 1.20  User's Guide                                           Page 38
  1698. ------------------------------------------------------------------------
  1699.  
  1700. Switches
  1701.  
  1702. /P
  1703.     Displays one screen of the listing at a time. To see the next
  1704.     screen, press any key.
  1705.  
  1706. /W
  1707.     Displays the listing in wide format, with as many as five filenames
  1708.     or directory names on each line.
  1709.  
  1710. /A[:][attributes]
  1711.     Displays only the names of those directories and files with the
  1712.     attributes you specify. If you omit this switch, JDIR displays the
  1713.     names of all files except hidden  and system files. If you use this
  1714.     switch without specifying attributes, JDIR displays the names of
  1715.     all files, including hidden and system files.
  1716.  
  1717.     The following list describes each of the values you can use for
  1718.     attributes. The colon (:) is optional. Use any combination of these
  1719.     values, and do not separate the values with spaces.
  1720.  
  1721.     +H or H      Hidden files
  1722.  
  1723.     -H           Files that are not hidden
  1724.  
  1725.     +S or S      System files
  1726.  
  1727.     -S           Files other than system files
  1728.  
  1729.     +D or D      Directories
  1730.  
  1731.     -D           Files only (not directories)
  1732.  
  1733.     +A or A      Files ready for archiving (backup)
  1734.  
  1735.     -A           Files that have not changed since the last backup
  1736.  
  1737.     +R or R      Read-only files
  1738.  
  1739.     -R           Files that are not read-only
  1740.  
  1741.  
  1742. JAM 1.20  User's Guide                                           Page 39
  1743. ------------------------------------------------------------------------
  1744.  
  1745. /O[:][sortorder]
  1746.     Controls the order in which JDIR sorts and displays directory names
  1747.     and filenames. If you omit this switch, JDIR displays the names in
  1748.     the order in which they occur in the directory. If you use this
  1749.     switch without specifying sortorder, JDIR displays the names of the
  1750.     directories, sorted in alphabetic order, and then displays the
  1751.     names of files, sorted in alphabetic order. The colon (:) is
  1752.     optional.
  1753.  
  1754.     The following list describes each of the values you can use for
  1755.     sortorder. Use any combination of the values, and do not separate
  1756.     these values with spaces.
  1757.  
  1758.     +N or N      In alphabetic order by name
  1759.  
  1760.     -N           In reverse alphabetic order by name (Z through A)
  1761.  
  1762.     +E or E      In alphabetic order by extension
  1763.  
  1764.     -E           In reverse alphabetic order by extension (Z through A)
  1765.  
  1766.     +D or D      By date and time, earliest first
  1767.  
  1768.     -D           By date and time, latest first
  1769.  
  1770.     +S or S      By size, smallest first
  1771.  
  1772.     -S           By size, largest first
  1773.  
  1774.     +G or G      With directories grouped before files
  1775.  
  1776.     -G           With directories grouped after files
  1777.  
  1778.     +C or C      By compression ratio, lowest first
  1779.  
  1780.     -C           By compression ratio, highest first
  1781.  
  1782.     +F or F      By file fragmentation, lowest first
  1783.  
  1784.     -F           By file fragmentation, highest first
  1785.  
  1786.  
  1787. JAM 1.20  User's Guide                                           Page 40
  1788. ------------------------------------------------------------------------
  1789.  
  1790. /S
  1791.     Lists every occurrence, in the specified directory and all
  1792.     subdirectories, of the specified filename.
  1793.  
  1794. /B
  1795.     Lists each directory name or filename, one per line (including the
  1796.     filename extension). This switch displays no heading information
  1797.     and no summary. The /B switch overrides the /W switch.
  1798.  
  1799. /L
  1800.     Displays unsorted directory names and filenames in lowercase.  This
  1801.     switch does not convert extended characters to lowercase.
  1802.  
  1803. /C[format]
  1804.     Displays the compression ratio of files compressed using the JAM.
  1805.     If you use this switch without specifying format, JDIR displays the
  1806.     compressed size / original size ratio.
  1807.  
  1808.     The following list describes each of the values you can use for
  1809.     format.
  1810.  
  1811.     N  Displays compressed size / original size ratio
  1812.  
  1813.     R  Displays (original size - compressed size) / original size ratio
  1814.  
  1815.     M  MS-DOS 6.XX DIR format (xx.y to 1.0)
  1816.  
  1817.     S  Stacker SDIR format (xx.y:1)
  1818.  
  1819.     The /C switch is ignored when used with the /W or /B switch.
  1820.  
  1821. /F
  1822.     Displays file fragmentation.
  1823.  
  1824. /K
  1825.     No volume label or pathname.
  1826.  
  1827. /M
  1828.     Omit total bytes information.
  1829.  
  1830. /T
  1831.     Displays file attributes.
  1832.  
  1833. /U
  1834.     Displays summary information only.
  1835.  
  1836. /Q
  1837.     Quiet mode (does not display copyright and status information).
  1838.  
  1839.  
  1840. JAM 1.20  User's Guide                                           Page 41
  1841. ------------------------------------------------------------------------
  1842.  
  1843. Notes
  1844.  
  1845. Using wildcards with JDIR
  1846.  
  1847. You can use wildcards (* and ?) to display a listing of a subset of
  1848. files and subdirectories. For an example illustrating the use of a
  1849. wildcard, see the EXAMPLES section.
  1850.  
  1851. Specifying file display attributes
  1852.  
  1853. If you specify the /A switch with more than one value in attributes,
  1854. JDIR displays the names of only those files with all the specified
  1855. attributes. For example, if you specify the /A switch with the +R and
  1856. -H values for attributes by using either /A:+R-H, /A:R-H, /A+R-H or
  1857. /AR-H, JDIR displays only the names of read-only files that are not
  1858. hidden.
  1859.  
  1860. Specifying filename sorting
  1861.  
  1862. If you specify more than one sortorder value, JDIR sorts the filenames
  1863. by the first criterion first, then by the second criterion, and so on.
  1864. For example, if you specify the /O switch with the E and -S values for
  1865. sortorder by using either /O:+E-S, /O:E-S, /O+E-S or /OE-S, JDIR sorts
  1866. the names of directories and files by extension, with the largest
  1867. first, and displays the final result.  The alphabetic sorting by
  1868. extension causes filenames with no extensions to appear first, then
  1869. directory names, then filenames with extensions.
  1870.  
  1871. Using redirection symbols and pipes
  1872.  
  1873. When you use a redirection symbol (>) to send JDIR output to a file or
  1874. a pipe (|) to send JDIR output to another command, use the /A:-D, /B,
  1875. and /Q switches to list only the filenames. You can use the filename
  1876. parameter with the /B and /S switches to specify that JDIR is to search
  1877. the current directory and its subdirectories for all filenames that
  1878. match filename. JDIR lists only the drive letter, directory name,
  1879. filename, and filename extension, one path per line, for each filename
  1880. it finds.
  1881.  
  1882. Before using a pipe for redirection, you should set the TEMP
  1883. environment variable in your AUTOEXEC.BAT file. Otherwise, the
  1884. temporary file will appear in the directory listing.
  1885.  
  1886. JAM 1.20  User's Guide                                           Page 42
  1887. ------------------------------------------------------------------------
  1888.  
  1889. Presetting JDIR parameters and switches
  1890.  
  1891. You can preset JDIR parameters and switches by including the SET
  1892. command with the DIRCMD or JDIRCMD environment variables in your
  1893. AUTOEXEC.BAT file.  You can use any valid combination of JDIR
  1894. parameters and switches with the SET DIRCMD or SET JDIRCMD command,
  1895. including the location and name of a file.
  1896.  
  1897. For example, to use the DIRCMD environment variable to set the wide
  1898. display format (/W) as the default format, include the following
  1899. command in your AUTOEXEC.BAT file:
  1900.  
  1901.     SET DIRCMD=/W
  1902.  
  1903. For a single use of the JDIR command, you can override a switch set by
  1904. using the DIRCMD environment variable. To do so, you use the same
  1905. switch on the JDIR command line, but you must also precede the switch
  1906. letter with a minus sign, as the following example shows:
  1907.  
  1908.     JDIR /-W
  1909.  
  1910. You can change the DIRCMD default settings by typing the SET command
  1911. at the command prompt with a new parameter or switch after the equal
  1912. sign (=). The new default settings are effective for all subsequent DIR
  1913. commands until you use SET DIRCMD again on the command line or until
  1914. you restart MS-DOS.
  1915.  
  1916.  
  1917. Examples
  1918.  
  1919. Suppose you want to display all files and directories in a directory,
  1920. including hidden or system files. To specify this display, type the
  1921. following command:
  1922.  
  1923.     JDIR /A
  1924.  
  1925. Suppose you want JDIR to display one directory listing after another,
  1926. until it has displayed the listing for every directory on the disk in
  1927. the current drive. Suppose also that you want JDIR to alphabetize each
  1928. directory listing, display it in wide format, and pause after each
  1929. screen. To specify such a display, be sure the root directory is the
  1930. current directory and then type the following command:
  1931.  
  1932.     JDIR /S/W/O/P
  1933.  
  1934. JAM 1.20  User's Guide                                           Page 43
  1935. ------------------------------------------------------------------------
  1936.  
  1937. JDIR lists the name of the root directory, the names of the
  1938. subdirectories of the root directory, and the names of the files in the
  1939. root directory (including extensions). Then JDIR lists the subdirectory
  1940. names and filenames in each subdirectory in the directory tree.
  1941.  
  1942. To alter the preceding example so that JDIR displays the filenames and
  1943. extensions but omits the directory names, type the following command:
  1944.  
  1945.     JDIR /S/W/O/P/A:-D
  1946.  
  1947. To print a directory listing, type the redirection symbol and PRN after
  1948. any form of the DIR command, as the following example shows:
  1949.  
  1950.     JDIR > PRN
  1951.  
  1952. When you specify PRN on the JDIR command line, the directory listing is
  1953. sent to the printer attached to the LPT1 port. If your printer is
  1954. attached to a different port, you must replace PRN with the name of the
  1955. correct port.
  1956.  
  1957. You can also redirect output of the JDIR command to a file by replacing
  1958. PRN with a filename. A path is also accepted on the command line. For
  1959. example, to direct JDIR output to the file JDIR.DOC in the RECORDS
  1960. directory, type the following command:
  1961.  
  1962.     JDIR > \RECORDS\JDIR.DOC
  1963.  
  1964. To display a list of all the filenames with the .TXT extension in all
  1965. directories on drive C, type the following command:
  1966.  
  1967.     JDIR C:\*.TXT /W/O/S/P
  1968.  
  1969. JDIR displays, in wide format, an alphabetized list of the matching
  1970. filenames in each directory and pauses each time the screen fills,
  1971. until you press a key to continue.
  1972.  
  1973.  
  1974. JAM 1.20  User's Guide                                           Page 44
  1975. ------------------------------------------------------------------------
  1976.  
  1977.                        4.5. The JCHKDSK utility
  1978.                      ----------------------------
  1979.  
  1980. This checks the status of a disk and displays a status report. Can also
  1981. fix errors on standard DOS and JAM drives.
  1982.  
  1983. The status report shows errors found in the DOS file system, which
  1984. consists of the File Allocation Table (and JAM Descriptor Table for
  1985. JAM drives) and Directories. If errors exist on the disk, JCHKDSK
  1986. alerts you with a message. You should use JCHKDSK occasionally on each
  1987. disk drive to check for errors.
  1988.  
  1989. Syntax
  1990.  
  1991.     JCHKDSK [drive:][[\][path\]filename[.ext]] [/F] [/V]
  1992.         [/C] [/E] [/N] [/T] [/A] [/Q] [/X]
  1993.  
  1994. Parameters
  1995.  
  1996. drive:
  1997.     Specifies the letter of the drive you want JCHKDSK to check. This
  1998.     parameter is optional; if you do not specify a drive, JCHKDSK
  1999.     checks the current drive.
  2000.  
  2001. [\][path\]filename[.ext]
  2002.     Specifies the location and name of a file or set of files that you
  2003.     want CHKDSK to check for fragmentation. You can use wildcards (*
  2004.     and ?) to specify multiple files.
  2005.  
  2006. Switches
  2007.  
  2008. /F
  2009.     Fixes errors on the disk. Do not use this option when running
  2010.     JCHKDSK from multitasking programs other than MS-Windows, DESQview,
  2011.     MS-DOS Task Switcher, or DR-DOS 6.0 TaskMAX. For more information,
  2012.     see "Using CHKDSK with open files" in section Notes below.
  2013.  
  2014. /V
  2015.     Displays the name of each file in every directory as the disk is
  2016.     checked.
  2017.  
  2018. /C
  2019.     Compares FAT copies. Use this switch on standard DOS drives to
  2020.     ensure that each copy of the File Allocation Table (FAT) are
  2021.     exactly the same.
  2022.  
  2023. /E
  2024.     Shows empty files. This switch allows you to see all zero-length
  2025.     files on your disk. Some of such files could be left on your disk
  2026.     due to system hangs, crashes, etc.
  2027.  
  2028.  
  2029. JAM 1.20  User's Guide                                           Page 45
  2030. ------------------------------------------------------------------------
  2031.  
  2032. /N
  2033.     Strict file name checking. Assumes that file names may consist of:
  2034.     uppercased letters: A-Z, numbers 0-9, and some special characters:
  2035.     ~`!@#$%^&*()-_{}'.
  2036.  
  2037. /T
  2038.     Tests readability and verifies the integrity of files on a JAM
  2039.     drive.
  2040.  
  2041. /A
  2042.     Automatic mode. In combination with /F switch automatically
  2043.     selects the best way to recover most of disk errors.
  2044.  
  2045. /Q
  2046.     Quiet mode (does not display status messages like 'Reading...',
  2047.     Comparing FATs..., etc.).
  2048.  
  2049. /X
  2050.     Displays extended disk information (Sector and Cluster size, size
  2051.     of reserved disk area (Boot Sectors), size and number of FAT copies,
  2052.     maximum number of entries in the Root Directory, Total number of
  2053.     sectors on disk).
  2054.  
  2055. Notes
  2056.  
  2057. Format of status reports
  2058.  
  2059. On a standard DOS drive JCHKDSK displays status report similar to the
  2060. following example:
  2061.  
  2062. Volume in drive C: has no label
  2063.  
  2064.   10411008 bytes total disk space
  2065.      57344 bytes in 2 hidden files
  2066.      49152 bytes in 12 directories
  2067.    6377472 bytes in 265 user files
  2068.    3923968 bytes available on disk
  2069.  
  2070.       4096 bytes in each allocation unit
  2071.       2541 total allocation units on disk
  2072.        958 available allocation units on disk
  2073.  
  2074.     655360 bytes total memory
  2075.     545984 bytes available memory
  2076.  
  2077.  
  2078. JAM 1.20  User's Guide                                           Page 46
  2079. ------------------------------------------------------------------------
  2080.  
  2081. To show extended disk information (Sector and Cluster size, size
  2082. of reserved disk area (Boot Sectors), size and the number of FAT copies,
  2083. etc.) you should run JCHKDSK with /X switch.
  2084.  
  2085. Volume in drive C: has no label
  2086.  
  2087.        512 bytes per sector
  2088.          8 sectors per cluster
  2089.          1 sector(s) reserved
  2090.          2 FAT copies
  2091.          8 sectors per FAT
  2092.        512 maximum root directory entries
  2093.      20383 total sectors on disk
  2094.  
  2095.   10411008 bytes total disk space
  2096.      57344 bytes in 2 hidden files
  2097.      49152 bytes in 12 directories
  2098.    6377472 bytes in 265 user files
  2099.    3923968 bytes available on disk
  2100.  
  2101.       4096 bytes in each allocation unit
  2102.       2541 total allocation units on disk
  2103.        958 available allocation units on disk
  2104.  
  2105.     655360 bytes total memory
  2106.     545984 bytes available memory
  2107.  
  2108.  
  2109. On a JAM drive JCHKDSK displays more detailed report which includes
  2110. both Logical and Physical JAM drive parameters, Average Compression
  2111. Ratio, and Projected Free Space currently available.
  2112.  
  2113. Volume in drive H: is TEST
  2114. Volume Serial Number is 1B00-0F38
  2115.  
  2116.    JAM logical drive H:              JAM file: C:\TEST.JAM
  2117.  
  2118.   25534464 bytes total disk space    10213376 bytes total archive space
  2119.      57344 bytes in 2 hidden files      37376 bytes in 2 hidden files
  2120.      98304 bytes in 12 directories      98304 bytes in 12 directories
  2121.    7004160 bytes in 265 user files    4055552 bytes in 265 user files
  2122.   18374656 bytes available on disk    6022144 bytes free on archive
  2123.  
  2124.            58.82% average compression ratio (1.7:1)
  2125.   13303808 bytes projected free space
  2126.  
  2127.     655360 bytes total memory
  2128.     545984 bytes available memory
  2129.  
  2130. JAM 1.20  User's Guide                                           Page 47
  2131. ------------------------------------------------------------------------
  2132.  
  2133. Fixing disk errors
  2134.  
  2135. JCHKDSK will correct errors it finds if you specify the /F switch. If
  2136. you do not use the /F switch, JCHKDSK alerts you with a message if a
  2137. file needs to be fixed but does not fix the error(s). Detailed explana-
  2138. tions and recommendations on fixing all disk errors which JCHKDSK can
  2139. detect are given below in section Error Messages.
  2140.  
  2141. Using JCHKDSK with open files
  2142.  
  2143. Never use JCHKDSK when files are currently open. JCHKDSK is designed
  2144. for use when the files on the disk are in an unchanging state -- that
  2145. is, when they are not open. When a file is open, it is probably
  2146. changing, and DOS will update the file allocation table and the
  2147. directory structure to reflect changes. Such updates are not always
  2148. made immediately, and updates to the file allocation table and the
  2149. directories occur at different times. If you run JCHKDSK when files are
  2150. open on the disk, it interprets differences between the directory
  2151. structure and the file allocation tables as errors. Running JCHKDSK /F
  2152. when files are open may result in corruption or loss of data.
  2153. Therefore, never run JCHKDSK /F from another program, or when Windows,
  2154. DESQview, MS-DOS Task Switcher or DR-DOS 6.0 TaskMAX (Novell DOS 7
  2155. Task Manager) are running.
  2156.  
  2157. Using JCHKDSK with assigned drives and networks
  2158.  
  2159. The JCHKDSK utility does not work on drives formed by the SUBST or
  2160. ASSIGN commands. You cannot use JCHKDSK to check a disk on a network
  2161. drive.
  2162.  
  2163. Physical disk errors
  2164.  
  2165. Being run on a standard DOS drive, the JCHKDSK could find only logical
  2166. errors in the DOS file system, not physical disk errors.  Nevertheless,
  2167. being run on a JAM drive with /T switch, JCHKDSK could find also
  2168. physical errors on a Host Drive.
  2169.  
  2170. Bad disk sectors
  2171.  
  2172. Bad sectors reported by JCHKDSK were marked as "bad" when your disk was
  2173. first prepared for operation. Physical disk-error correction utilities
  2174. can also mark sectors as "bad." Bad sectors pose no danger.
  2175.  
  2176. ERRORLEVEL parameters
  2177.  
  2178. If JCHKDSK does not find any errors, it returns an ERRORLEVEL value
  2179. of 0. If JCHKDSK found one or more errors, it returns an ERRORLEVEL
  2180. value of 255.
  2181.  
  2182. Saving a JCHKDSK status report to a file
  2183.  
  2184. You can save a JCHKDSK status report by redirecting the output to a
  2185. file (located on any other disk drive, of course). Do not use the /F
  2186. switch when you redirect JCHKDSK output to a file.
  2187.  
  2188. JAM 1.20  User's Guide                                           Page 48
  2189. ------------------------------------------------------------------------
  2190.  
  2191. Examples
  2192.  
  2193. If you want to check the disk in drive A and have JCHKDSK fix any errors
  2194. encountered, type the following command:
  2195.  
  2196.     JCHKDSK A: /F
  2197.  
  2198.  
  2199. JCHKDSK pauses and displays messages if it encounters errors. Then it
  2200. may prompt you to specify how you want JCHKDSK to correct the errors.
  2201. JCHKDSK finishes by displaying a report showing the status of the disk.
  2202.  
  2203. To redirect the output of JCHKDSK to a file named STATUS, type the
  2204. following command:
  2205.  
  2206.     JCHKDSK A: > STATUS
  2207.  
  2208. Because the output is redirected, JCHKDSK does not repair errors it
  2209. encounters during the check; but it records all the errors in a report file.
  2210. Afterward, you can use JCHKDSK with the /F switch without redirection to
  2211. correct any errors noted in the status report.
  2212.  
  2213.  
  2214. JAM 1.20  User's Guide                                           Page 49
  2215. ------------------------------------------------------------------------
  2216.  
  2217.                          4.6. The JMAX utility
  2218.                       ---------------------------
  2219.  
  2220. Packs clusters compressed by the JAM driver tighter to give more
  2221. available space on selected JAM drive. JMAX also automatically
  2222. defragments and clears free space on the JAM drive.
  2223.  
  2224. Syntax
  2225.  
  2226.     JMAX [drive:] [/M[:]method] [/C]
  2227.  
  2228. Parameter
  2229.  
  2230. drive:
  2231.     Specifies the drive you want to defragment. This parameter is
  2232.     optional; if you do not specify a drive, JMAX recompresses and
  2233.     defragments the current drive.
  2234.  
  2235. Switches
  2236.  
  2237. /M
  2238.     Specifies an optimization method to use. If you omit this switch,
  2239.     or specify /M without parameter, JMAX uses the highest compression
  2240.     method available (see list below).
  2241.  
  2242.     The following list describes each of the values you can use for the
  2243.     method.
  2244.  
  2245.     0 - NO recompression (consolidate sectors only).
  2246.  
  2247.     1 - FAST (the 1st level) recompression. Provides 20-30% better
  2248.         compression ratio than algorithm built-in the JAM driver.
  2249.  
  2250.     2 - MAX (the 2nd level) recompression. This method allows you to
  2251.         get maximum compression ratio, but takes approximately twice
  2252.         more time than the 1-st method.
  2253.  
  2254. /C
  2255.     Clears free space only. This switch is useful with JAM drives
  2256.     working in Full UnDelete Compatible mode (see Section 4.3 /Notes).
  2257.  
  2258.  
  2259. JAM 1.20  User's Guide                                           Page 50
  2260. ------------------------------------------------------------------------
  2261.  
  2262. Notes
  2263.  
  2264. Difference between JMAX and standard Disk Defragmentation programs
  2265.  
  2266. Standard Disk Defragmentation programs (e.g. Gazelle Systems' OPTune,
  2267. Golden Bow's VOPT, Central Point Software's COMPRESS, Norton Utilities'
  2268. SPEEDISK, etc.) optimize disk performance by reorganizing the files on
  2269. a drive. You can use them to optimize uncompressed drives. Although
  2270. you can run them on a JAM drive, doing so will probably not improve
  2271. your system's speed.
  2272.  
  2273. Unlike these programs, the JMAX utility does not perform file-level
  2274. reorganization. JMAX recompresses and reorganizes compressed clusters
  2275. to give you more free space on the JAM drive. Nevertheless, such
  2276. optimization will also significantly speed-up the JAM drive (better
  2277. compressed data require less space to store on physical disk, but also
  2278. require less time to be expanded!).
  2279.  
  2280.  
  2281. Examples
  2282.  
  2283. To defragment drive D, you would type the following at the command
  2284. prompt:
  2285.  
  2286.     JMAX d:
  2287.  
  2288. To defragment the current drive, type the following command:
  2289.  
  2290.     JMAX
  2291.  
  2292.  
  2293. JAM 1.20  User's Guide                                           Page 51
  2294. ------------------------------------------------------------------------
  2295.  
  2296.                         4.7. The JSIZE utility
  2297.                       ---------------------------
  2298.  
  2299. Enlarges or reduces the size of a JAM archive file. You might want to
  2300. enlarge a JAM drive if its host drive contains plenty of free space.
  2301. You might want to reduce the size of a JAM drive if you need more free
  2302. space on the host drive.
  2303.  
  2304. Syntax
  2305.  
  2306.     JSIZE [d:][\][path\]filename[.ext] [+|-][size]
  2307.  
  2308. Parameters
  2309.  
  2310. [d:][\][path\]
  2311.     Full or relative path of the JAM archive file. This is optional part
  2312.     of the name of file to resize. If you omit it, JSIZE uses current
  2313.     DOS drive/directory to find the archive file.
  2314.  
  2315. filename[.ext]
  2316.     Specifies the name of the JAM file you want to resize. If you omit
  2317.     the filename extension, JSIZE uses ".JAM".
  2318.  
  2319. Switches
  2320.  
  2321. [+|-]size
  2322.     Specifies amount of space (in K-bytes) on which the JAM archive
  2323.     file should be extended (+ prefix), or shrunk (- prefix).
  2324.     If size not specified, maximum possible value is used.
  2325.  
  2326. Notes
  2327.  
  2328. Before you run JSIZE ...
  2329.  
  2330. The JSIZE utility may be run only on Inactive JAM Archive files. Use the
  2331. JMOUNT utility to dismount the Archive file, run JSIZE to extend or
  2332. shrink its size, and then mount it again.
  2333.  
  2334. Also, it is strongly recommended TO TEST AND DEFRAGMENT your disk
  2335. BEFORE you extend any archive file. By doing so you will avoid numerous
  2336. possible problems, and ensure maximum performance of a JAM drive you
  2337. will extend.
  2338.  
  2339. Show file size limits
  2340.  
  2341. If you run JSIZE without specifying + or - switches, it displays file's
  2342. physical and logical capacity for three possible types of configuration:
  2343. Minimum (fully shrunk archive), Actual, and Maximum (extended on all
  2344. currently available space on host drive).
  2345.  
  2346.  
  2347. JAM 1.20  User's Guide                                           Page 52
  2348. ------------------------------------------------------------------------
  2349.  
  2350. Examples
  2351.  
  2352. To show on which size the file C:\TEST1.JAM can be extended (or
  2353. shrunk), type the following command:
  2354.  
  2355.     JSIZE C:\TEST1
  2356.  
  2357. To extend the size of file C:\TEST2.JAM on 20M, type the following
  2358. command:
  2359.  
  2360.     JSIZE C:\TEST2 +20480
  2361.  
  2362. To shrink the size of file C:\TEST3.JAM on 10M, type the following
  2363. command:
  2364.  
  2365.     JSIZE C:\TEST3 -10240
  2366.  
  2367. To change the size of file C:\TEST4.JAM so that it is as large as
  2368. possible, type the following command:
  2369.  
  2370.     JSIZE C:\TEST4 +
  2371.  
  2372.  
  2373. JAM 1.20  User's Guide                                           Page 53
  2374. ------------------------------------------------------------------------
  2375.  
  2376.                         4.8. The JSWAP utility
  2377.                       ---------------------------
  2378.  
  2379. JSWAP lets you switch between the names of any two drives.
  2380.  
  2381. For example, entering
  2382.  
  2383.     JSWAP C: D:
  2384.  
  2385. will switch the names of drives C: and D:, resulting in drive C: effec-
  2386. tively being mapped to the original drive D:, and drive C: effectively
  2387. being mapped to the original drive D:.
  2388.  
  2389. Using the JSWAP utility might be of utmost importance for users whose
  2390. applications and batch files are "tailored" to use a specific physical
  2391. drive letter (most often C:), which would have to be reconfigured to
  2392. work with a different drive letter if moved to work with a JAM drive
  2393. letter (e.g. D:).
  2394.  
  2395. Instead of going through the tedious process of reconfiguration, you
  2396. may just use the 'JSWAP C: D:' command to switch between the names
  2397. of C: (the original drive letter) and D: (JAM drive letter). Now you
  2398. can just use your JAM drive as drive C: with all your preconfigured
  2399. applications and batch files as before!
  2400.  
  2401. In addition, JSWAP can hide/restore any existing drives.
  2402.  
  2403. For example, entering
  2404.  
  2405.     JSWAP -D:
  2406.  
  2407. will hide drive D:, so that immediately after drive C: you will see
  2408. drive E: and the other drives. To restore drive D: you would just type:
  2409.  
  2410.     JSWAP +D:
  2411.  
  2412. The hide/restore options can be useful when you want to keep one or
  2413. more extra JAM drives to mount diskettes or any other removable
  2414. devices, or when you created JAM file on whole hard disk partition,
  2415. and want to hide the host drive.
  2416.  
  2417.  
  2418. JAM 1.20  User's Guide                                           Page 54
  2419. ------------------------------------------------------------------------
  2420.  
  2421. Syntax
  2422.  
  2423.     JSWAP [/Q] [+|-]d1: [+|-]d2:
  2424. or
  2425.     DEVICE=[drive:][\][path\]JSWAP.COM [/Q] [+|-]d1: [+|-]d2:
  2426.  
  2427. Parameters
  2428.  
  2429. d1: d2:
  2430.     Drive letters to interchange and/or switch. Any drive letters,
  2431.     which are assigned to existing DOS block devices, should be
  2432.     specified.
  2433.  
  2434. [drive:][\][path\]
  2435.     Specifies the location of the JSWAP.COM file.
  2436.  
  2437. Switches
  2438.  
  2439. +
  2440.     Restores previously disabled (hidden) drive.
  2441.  
  2442. -
  2443.     Hides specified drive letter.
  2444.  
  2445. /Q
  2446.     Quiet mode (does not display copyright and status information).
  2447.  
  2448. /? or /H
  2449.     Displays online help screen.
  2450.  
  2451.  
  2452. Notes
  2453.  
  2454. Swapping drive letters during system start-up
  2455.  
  2456. To allow you switch drive letters during system start-up we made file
  2457. JSWAP.COM both an executable program and a device driver. Thus, for
  2458. example, if you need to swap your host drive C: and JAM drive D:
  2459. before loading other device drivers or TSR programs, you would add the
  2460. line like:
  2461.                 DEVICE=C:\JSWAP.COM /Q C: D:
  2462.  
  2463. to your CONFIG.SYS file. Note, that all commands below this line
  2464. must be modified to have correct drive letters.
  2465.  
  2466.  
  2467. JAM 1.20  User's Guide                                           Page 55
  2468. ------------------------------------------------------------------------
  2469.  
  2470. Hide/restore drive letters during system start-up
  2471.  
  2472. If you use the DEVICE command to run JSWAP utility, its hide/restore
  2473. subcommands (+|-) will not take effect because DOS will reassign drive
  2474. attributes after loading all device drivers (including JSWAP).
  2475.  
  2476. If you are using MS-DOS or PC-DOS you can avoid this problem by running
  2477. JSWAP utility via INSTALL command in CONFIG.SYS file.
  2478.  
  2479. Unfortunately, this will not help under Novell DOS, and DR-DOS.
  2480. To hide/restore drives under Novell DOS you should run the JSWAP
  2481. utility from your AUTOEXEC.BAT file.
  2482.  
  2483.  
  2484. JAM 1.20  User's Guide                                           Page 56
  2485. ------------------------------------------------------------------------
  2486.  
  2487.                          4.9. The JCMD utility
  2488.                        -------------------------
  2489.  
  2490. Replaces standard DOS "DIR" and "CHKDSK" commands by JDIR
  2491. and JCHKDSK programs.
  2492.  
  2493. Syntax
  2494.  
  2495.     JCMD [/I | /R] [drive:][\][pathname]
  2496.  
  2497. Parameter
  2498.  
  2499. [drive:][\][pathname]
  2500.     Specifies the location of JDIR.COM and JCHKDSK.COM programs.
  2501.     If not specified, current disk/directory is used.
  2502.  
  2503. Switches
  2504.  
  2505. /I
  2506.     Install JAM interceptor
  2507. /R
  2508.     Remove JAM interceptor from memory
  2509.  
  2510. Notes
  2511.  
  2512. The JCMD utility relies on (undocumented) DOS API for installable 
  2513. command names (int 2fh, ax=ae00h,ae01h). This API is supported by 
  2514. standard DOS command processor (COMMAND.COM), as well as by 4DOS 
  2515. (version 4.0 and higher) and NDOS. Other command processors may not 
  2516. implement this interface, so JCMD utility would have no effect.
  2517.  
  2518.  
  2519.  
  2520. JAM 1.20  User's Guide                                           Page 57
  2521. ------------------------------------------------------------------------
  2522.  
  2523.       Chapter  5.  Guidelines for efficient use of the JAM Drives
  2524.     ===============================================================
  2525.  
  2526. This chapter highlights some of the techniques and considerations for
  2527. efficient use of the JAM drives, allowing you to take full advantage of
  2528. the JAM.
  2529.  
  2530.  
  2531. 1. Refrain from storing access-time sensitive data on the JAM drives.
  2532.  
  2533. Access-time sensitive data is defined as data to which access time is
  2534. most critical, and to which access should be as fast as possible.
  2535. Usually, a relatively large amount of access operations are performed
  2536. on such data in a limited period of time. Data in this category are:
  2537.  
  2538.   *  database index files: very high access rate; access
  2539.      time must be minimal.
  2540.  
  2541.   *  program overlay (or dynamically linked libraries) files (those
  2542.      having a file extension of .OVL, .OVR, or .DLL), as well as
  2543.      programs which contain internal overlays (big .EXE files):
  2544.      they are accessed many times during the execution of an
  2545.      application.
  2546.  
  2547.  
  2548. 2. Store data insensitive to access time on the JAM drives.
  2549.  
  2550. This category includes word-processing documents and spreadsheet files.
  2551. The access time for retrieving and saving such files is of lesser
  2552. importance, and in most cases with the JAM an increase in access time
  2553. is not even noticed -- while the benefit of data compression and space
  2554. saving is optimal.
  2555.  
  2556.  
  2557. 3. Store data with a high compression ratio on the JAM
  2558.  
  2559. Although there is no restriction whatsoever on the nature of the data
  2560. stored on the JAM drive, a basic understanding of the internal
  2561. functions of the JAM will assist you in the proper selection of data
  2562. suitable for storage.
  2563.  
  2564. The data compression algorithms used by the JAM are based upon the
  2565. Occurrence Rate of various characters (and strings of characters) in the
  2566. data file. The effective Compression Ratio becomes larger as the number
  2567. of similar characters, words and phrases in the file becomes greater.
  2568.  
  2569. JAM 1.20  User's Guide                                           Page 58
  2570. ------------------------------------------------------------------------
  2571.  
  2572. TEXT Files generally consist of a relatively small number of different
  2573. characters (i.e. the printable characters, spaces, punctuation marks,
  2574. etc.) with a relatively high occurrence rate. The vocabulary of them is
  2575. also quite predictable based on the kind of text. Also, DATABASE and
  2576. SPREADSHEET files typically contain many zeroes and spaces in a
  2577. relatively high occurrence rate, as well as many similar words and
  2578. numbers. These types of files have a high Compression Ratio potential.
  2579. Many GRAPHICAL files are also well-suited to data compression. This
  2580. includes CAD/CAM software, and many graphical storage formats used in
  2581. image processing, desktop publishing, and multimedia industry (except
  2582. for those already well-compressed file formats, for example, JPEG, GIF,
  2583. some TIFF files).
  2584.  
  2585. Therefore, when using a word-processor, database, or a spreadsheet
  2586. program, maintain your document library, your database directory,
  2587. or your spreadsheet directory on a JAM drive.
  2588.  
  2589. On the other hand, in program files (i.e. those with a file extension
  2590. of .EXE or .COM), most of the 256 possible characters (as well as 2-3
  2591. character combinations), may occur at a high rate. Therefore, these
  2592. files are regarded as having a low Compression Ratio potential.
  2593. There are exceptions: Windows programs usually contain resource data
  2594. (bitmaps, icons, text strings, etc.) bind into .EXE files; such
  2595. files also have high Compression Ratio potential.
  2596.  
  2597. When in doubt, you may copy a file to the JAM drive, using the DOS COPY
  2598. command. You may then use the JDIR utility to determine the exact
  2599. Compression Ratio. If the compression is not satisfactory, you could
  2600. try to recompress this drive (containing the copied file) by JMAX
  2601. utility, and run JDIR again. If the compression still is not
  2602. satisfactory, the copied file may be deleted from the JAM drive (or
  2603. from the source drive if the Compression Ratio is satisfactory).
  2604.  
  2605.  
  2606. 4. Use the JMAX utility.
  2607.  
  2608. By using the JMAX utility, you can optimally recompress your data
  2609. achieving even better kind of on-the-fly compression than ordinary
  2610. JAM driver does. Often, you are not just saving disk space because
  2611. of higher compression ratio - the access to JMAX-recompressed data
  2612. becomes a bit faster!
  2613.  
  2614. Also, the JMAX utility is quite smart - it would not do its job
  2615. for a second time. So, you can recompress your JAM drive on weekly
  2616. or even daily basis, not worrying about long time it takes to execute -
  2617. if you have changed only one file on your JAM disk, JMAX would
  2618. recompress only this file. See Chapter 4.6 for details on JMAX usage.
  2619.  
  2620.  
  2621. JAM 1.20  User's Guide                                           Page 59
  2622. ------------------------------------------------------------------------
  2623.  
  2624. 5. Use your JAM archive files for super-fast backup.
  2625.  
  2626. As discussed in Chapter 3, you may backup your data much more quickly
  2627. using the JAM archive files, saving not only time, but using less
  2628. backup media as well.
  2629.  
  2630.  
  2631. 6. Use the DOS APPEND command.
  2632.  
  2633. The DOS APPEND command enables you to distribute your data files on
  2634. several disks and/or directories, yet access them in a completely
  2635. transparent manner as if all of your files were in one large disk/
  2636. directory. In this way, you may store some of your data files on the
  2637. JAM drive, your other files on a standard DOS disk, and use all of
  2638. your files as if they all reside in your current disk or directory.
  2639.  
  2640. Refer to your DOS manual for further information about the APPEND
  2641. command.
  2642.  
  2643.  
  2644. 7. Store seldomly used files on JAM drives.
  2645.  
  2646. Many users today hold large volumes of data on-line, on their
  2647. hard-disks, not willing to search for needed file on floppies or
  2648. streamer cassette. This is fine, but some rarely-used on-line
  2649. documentation or development toolkits can occupy quite a large portion
  2650. of your hard disk, thus competing for disk space with your heavy-used
  2651. data files. The one possible solution is to use file compression
  2652. (archiving) programs, such as PKZIP, ARJ, etc.  While these programs
  2653. are extremely useful as good space-savers, they also do have one big
  2654. disadvantage: you lose ability to work with your data transparently.
  2655. Instead, you should instantly pack and unpack them.
  2656.  
  2657. JAM offers a good compromise solution here: store such seldom-used
  2658. files on a compressed JAM drive. You lose some bit of disk space
  2659. comparing to file-archiving programs, but you would gain a transparent
  2660. DOS access for these files!  And on most 486-based machines, JAM drives
  2661. can be read FASTER than DOS ones. This is because you properly utilize
  2662. the horsepower of your CPU to help your disk drive.
  2663.  
  2664.  
  2665. JAM 1.20  User's Guide                                           Page 60
  2666. ------------------------------------------------------------------------
  2667.  
  2668.            Chapter  6.  F.A.Q. (Frequently Asked Questions)
  2669.          ====================================================
  2670.  
  2671. Q What does the name JAM mean?
  2672.  
  2673. A JAM, n. very thick sweet liquid made from fruit boiled and preserved
  2674.   in sugar, used esp. for spreading on bread.
  2675.   jam, v. 1. to pack, crush, or gather, tightly into a small space.
  2676.   2. To fill with people, cars, etc., so that movement is difficult
  2677.   or impossible. 3. ...
  2678.  
  2679.   Oops, just a short Longman quote. Well, it really means
  2680.   "JAM Archive Manager."
  2681.  
  2682.  
  2683. Q In simple terms, how does the JAM work?
  2684.  
  2685. A The JAM uses a certain portion (a large or small fraction, as
  2686.   determined by you) of the free space available on your hard disk
  2687.   drive.  The JAM creates on your hard disk drive (Host Drive) a new
  2688.   DOS drive called the JAM drive. This acts exactly like a standard DOS
  2689.   drive (allowing you to continue using DOS and application programs,
  2690.   as usual) -- however, with one significant difference: the JAM
  2691.   compresses the data written to the JAM drive (automatically and in a
  2692.   completely transparent manner), thereby reducing the amount of disk
  2693.   storage required to store your data, on average, by 60% (2.5:1)!  In
  2694.   other words, the JAM effectively enlarges the capacity of your hard
  2695.   disk.
  2696.  
  2697.  
  2698. Q Can the JAM actually enlarge the capacity of my disk drive with its
  2699.   existing data and programs?
  2700.  
  2701. A Yes! The JAM can provide you capability to effectively enlarge the
  2702.   capacity of your existing hard disk drive by saving, on the average
  2703.   60% of the storage required by DOS to store your files. The JAM will
  2704.   not affect your existing data and programs. (Until you copy these
  2705.   files to a JAM drive and delete them from the Host drive, the disk
  2706.   space required to store these existing programs and data will not be
  2707.   reduced.)
  2708.  
  2709.  
  2710. JAM 1.20  User's Guide                                           Page 61
  2711. ------------------------------------------------------------------------
  2712.  
  2713. Q Do I have to do anything to my existing software applications or data
  2714.   files to use the JAM?
  2715.  
  2716. A No. The JAM acts as a standard DOS drive and works in a completely
  2717.   transparent manner. Once it is loaded into memory (and this is done
  2718.   automatically when your computer is turned on), it does the work for
  2719.   you "in the background". As stated above, however, in order to reduce
  2720.   the storage capacity required for your existing data files they
  2721.   must be copied to a JAM drive.
  2722.  
  2723.  
  2724. Q Will the JAM affect the performance of my existing software
  2725.   applications?
  2726.  
  2727. A Yes, in some cases the JAM may affect the speed which your
  2728.   application software operates, however, it will not be noticeable to
  2729.   you, as it affects only the actual reading or writing of data to your
  2730.   hard disk. The overall effect is to a certain degree dependent upon
  2731.   the type of computer you are using (XT, 286 AT, or 386/486/Pentium
  2732.   AT). The slower the computer, the more noticeable any delay is; and
  2733.   your application software -- applications that are constantly
  2734.   updating data files -- may not be well suited for use with an JAM
  2735.   drive if you are using an XT (for example). Nevertheless, on modern
  2736.   i386/486 and Pentium computers the JAM drives usually work FASTER
  2737.   than original non-compressed DOS drives.
  2738.  
  2739. Q Do I need to format my hard disk to use the JAM?
  2740.  
  2741. A No. The JAM 1.20 creates the Compressed Drives as JAM Archives on
  2742.   your existing hard disk. The future versions will also compress whole
  2743.   hard disk partitions and floppy disks.  Please contact us for upgrade
  2744.   information.
  2745.  
  2746.  
  2747. Q Can I use the JAM drive as if it were a standard DOS disk?
  2748.  
  2749. A Yes, you may use ANY DOS command, you may create directories on your
  2750.   JAM drive, backup, restore, etc. The JAM User's Guide provides a
  2751.   complete explanation regarding the usage of the JAM with DOS.
  2752.  
  2753.  
  2754. JAM 1.20  User's Guide                                           Page 62
  2755. ------------------------------------------------------------------------
  2756.  
  2757. Q Since the JAM is always in memory ready to work transparently for me,
  2758.   it is using a certain portion of my available main memory. How much
  2759.   it is using?
  2760.  
  2761. A The JAM in its minimum configuration (i.e. only one JAM drive with 4K
  2762.   clusters, and minimum cache buffers) requires about 24Kb RAM resident
  2763.   memory. To support 8Kb cluster's drives JAM device driver requires
  2764.   32Kb of memory. Each additional active JAM drive requires a small
  2765.   additional amount of RAM (about 1.2Kb RAM per logical drive).
  2766.  
  2767.   Moreover, you can load the JAM driver into upper memory (by EMM386
  2768.   (from MS-DOS, DR-DOS, or Novell DOS), QEMM, 386MAX and other memory
  2769.   management software), thus, free some room in conventional memory
  2770.   used by DOS.
  2771.  
  2772.  
  2773. Q Will the JAM work on any kind of hard disk drive?
  2774.  
  2775. A Yes, the JAM should work on any type of hard disk with PC-DOS/MS-DOS
  2776.   3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7 in use.
  2777.  
  2778.  
  2779. Q Will the JAM compress my RAM drive?
  2780.  
  2781. A Yes. The JAM can enlarge the capacity of your virtual RAM disk,
  2782.   providing you with more room for frequently executing programs and
  2783.   temporary files.
  2784.  
  2785.  
  2786. Q How does the JAM differ from other data compression utilities?
  2787.  
  2788. A Unlike most data compression utilities, which compress data on a
  2789.   file-by-file basis (thereby keeping the data offline), the JAM
  2790.   compresses the data on a sector-by-sector basis, enabling the JAM
  2791.   driver to always retain your data online and available to you.
  2792.  
  2793.  
  2794. Q How can I maximize my use of the JAM with my existing data and
  2795.   programs?
  2796.  
  2797. A 1. Create a JAM drive.
  2798.   2. Move your applications and data files to the JAM drive.
  2799.   3. Run JMAX utility on this drive
  2800.   4. For those program files (i.e. .EXE and .COM files) where the
  2801.      compression is less than satisfactory, you may move them back to
  2802.      the Host Drive.
  2803.  
  2804.  
  2805. JAM 1.20  User's Guide                                           Page 63
  2806. ------------------------------------------------------------------------
  2807.  
  2808.                         Appendix  A.  Glossary
  2809.                     ===============================
  2810.  
  2811.                             Physical Drives
  2812.  
  2813. Physical disk drives are magnetic storage media of a predefined
  2814. capacity and which range from several up to thousands megabytes.
  2815. A Physical Drive is usually connected to a disk controller which
  2816. constitutes a hardware link between the operating system and the
  2817. physical storage media.
  2818.  
  2819.  
  2820.                        Hard Disk Logical Drives
  2821.  
  2822. Physical Drives may be divided into logical Partitions of a predeter-
  2823. mined length using utilities such as the DOS FDISK, or various disk
  2824. management programs.  Each partition is assigned a Drive Name Letter
  2825. corresponding to one Logical Drive.
  2826.  
  2827.  
  2828.                               Host Drives
  2829.  
  2830. Host Drive is the JAM terminology for a Logical Drive on which JAM
  2831. Archive Files (see below) are created. Any Logical Drive (assigned to a
  2832. Hard Disk partition) can act as a Host Drive.
  2833.  
  2834.  
  2835.                    JAM Archive Files (or JAM Files)
  2836.  
  2837. With the JAM, you may allocate space on your Host Drive to create the
  2838. JAM Drive (see below).  This space will be presented as a file (called
  2839. JAM Archive File, or just JAM File) on your Host Drive. Being mounted
  2840. as a JAM Drive, a  JAM Archive will provide more storage capacity than
  2841. the amount of space it uses.
  2842.  
  2843.  
  2844.                   JAM Logical Drives (or JAM Drives)
  2845.  
  2846. Being installed the JAM device driver provides one or more additional
  2847. drives (called JAM Drives), which can represent compressed data in JAM
  2848. Archives as standard DOS Logical Drives.
  2849.  
  2850.  
  2851. JAM 1.20  User's Guide                                           Page 64
  2852. ------------------------------------------------------------------------
  2853.  
  2854.                          Sectors and Clusters
  2855.  
  2856. Information is recorded on a Logical Drive in units called sectors,
  2857. whose size is determined by the FORMAT utility during the formatting
  2858. process (the Sector length is usually equal to 512 bytes).
  2859.  
  2860. Thereafter, this length remains constant unless the Logical Drive is
  2861. reformatted. Furthermore, DOS groups the Sectors into Clusters, each
  2862. of which consist of an equal number of Sectors. The Cluster Size (i.e.
  2863. the number of sectors in a cluster) is also determined during the
  2864. formatting process.
  2865.  
  2866. While Sectors present a minimum chunk of information which can be read
  2867. from or written to a disk, Clusters define the minimum File Allocation
  2868. Unit.  The disk is allocated one cluster at a time to files and
  2869. directories.
  2870.  
  2871. Cluster number always refers to the data area of a disk (space reserved
  2872. for files and subdirectories). Valid cluster numbers always start at 2.
  2873. They correspond to entries in the File Allocation Table (see below).
  2874.  
  2875. On JAM drives clusters are INDEPENDENTLY COMPRESSED and allocated on
  2876. Host Drive as smaller groups of adjacent sectors. To match where these
  2877. groups are stored JAM uses additional table called JAM Descriptor Table
  2878. (see below).
  2879.  
  2880. The JAM driver supports clusters with logical size of 4K or 8K bytes
  2881. (i.e. 8 or 16 sectors).
  2882.  
  2883.  
  2884.                               Boot Record
  2885.  
  2886. The first sector of a DOS Logical Drive always contains a data structure
  2887. called the DOS Boot Record.  This contains such critical information as
  2888. Sector and Cluster Size, Reserved Sectors before FAT and Number of FAT
  2889. Copies, Entries in Root Directory, Total Sectors on disk, etc., that is
  2890. used by the system in accessing the media correctly.
  2891.  
  2892. A standard DOS Boot Record contains a short program that is executed
  2893. during system startup, which reads and executes the hidden system file,
  2894. IO.SYS (or IBMBIO.SYS).  If it can't locate this file, it typically
  2895. displays a message similar to:
  2896.     Non-System disk or disk error.
  2897.     Replace and strike any key...
  2898.  
  2899. The JAM Drives have some additional fields in Boot Record (refer to
  2900. Appendix C for details), and to prevent its destruction by some system
  2901. transferring software (for example DOS's SYS.COM) the JAM driver
  2902. protects this disk area from writing.
  2903.  
  2904. JAM 1.20  User's Guide                                           Page 65
  2905. ------------------------------------------------------------------------
  2906.  
  2907.                     DOS File Allocation Table (FAT)
  2908.  
  2909. This is the part of DOS's bookkeeping system which maintains a record
  2910. of where on the disk each File is stored.
  2911.  
  2912. The technique is relatively simple. In the Directory Entry (see below)
  2913. for each File is a Starting Cluster value.  That cluster contains the
  2914. first part of the file's data.  If the file is more than one cluster,
  2915. the FAT tells DOS where to find the next bit of the file's data.
  2916.  
  2917. Each FAT cell identifies the next cluster occupied by the file's data.
  2918. It's usually easy to follow a chain:  for instance, FAT cell #2
  2919. contains a 3; #3 contains a 4, and so forth. The cell at the end of the
  2920. chain contains an End Of File marker (0FFF or 0FFFF hex value).
  2921.                        ______________________
  2922.                       +---------------------.|
  2923.                       |  Boot Sector        ||
  2924.                       |=====================||
  2925.                       |  FAT entries        ||
  2926.       ,----------------- #2:   ,--[ 3 ]<--------. ------
  2927.       |  ,-------------- #3:   `->[ 4 ]--.  ||  |   FAT chain
  2928.       |  |  ,----------- #4:      [EOF]<-'  ||  | ------
  2929.       |  |  | ...     |  ...............    ||  |
  2930.       |  |  |      ,---- #MaxCls: [ 0 ] --- ||  | - unused cluster
  2931.       |  |  | ...  |  |=====================||  |
  2932.       |  |  |      |  |  Root Directory     ||  |
  2933.       |  |  | ...  |  |  ...............    ||  |
  2934.       |  |  |      |  |  MYFILE.EXT  [2]--------' - Starting cluster number
  2935.       |  |  | ...  |  |  ...............    ||
  2936.       |  |  |      |  |=====================||
  2937.       |  |  | ...  |  |  Data Area          ||
  2938.       |  |  |      |  |---------------------||----------
  2939.       `----------------->Cluster #2:        ||      ^
  2940.          |  |      |  |  ...............    ||      Disk area where file
  2941.          `-------------->Cluster #3:        ||      MYFILE.EXT is recorded.
  2942.             |      |  |  ...............    ||      Allocated space is:
  2943.             `----------->Cluster #4:        ||        3 * ClusterSize = 24K
  2944.                    |  |  ...............    ||      v     (= 8K)
  2945.  StartSector =     |  |---------------------||----------
  2946.   DataStart +      |  |  ...............    ||
  2947.    ClusterNo *     `---->Cluster #MaxCls:   ||
  2948.     ClusterSize;      |  ...............    ||
  2949.                       +---------------------+
  2950.  
  2951. On JAM Drives File Allocation Table is an Incompressible object.  Its
  2952. location and number of its copies could be obtained from the JAM Drive
  2953. Boot Record.
  2954.  
  2955.  
  2956.  
  2957. JAM 1.20  User's Guide                                           Page 66
  2958. ------------------------------------------------------------------------
  2959.  
  2960.                        JAM Descriptor Table (JDT)
  2961.  
  2962. An additional table in the JAM Archive file which maintains allocation
  2963. information for each compressed Cluster. The JAM device driver uses
  2964. this data to determine where the cluster is stored and how many sectors
  2965. it has in a compressed form.
  2966.  
  2967. Each JDT cell has cluster's Flags ([Allocated], [Deleted], and
  2968. [Directory] bits), Location in compressed Data Area (Starting Sector
  2969. and the Number of Sectors values), and Compression method identifier.
  2970.                        ______________________
  2971.                       +---------------------.|
  2972.                       |  Boot Sector        ||
  2973.  Starting Sector,     |=====================||
  2974.  Number of Sectors    |  JDT entries:       ||
  2975.     ,------------------- #2:  [   0 ][ 5 ]<-----------. -----
  2976.     |  ,---------------- #3:  [   6 ][ 7 ]<--------.  |   JDT entries used
  2977.     |  |  ,------------- #4:  [  14 ][ 3 ]<-----.  |  | -----
  2978.     |  |  |           |  .................  ||  |  |  |
  2979.     |  |  |        ,---->#MaxCls:[ empty ]- ||  |  |  | - unallocated
  2980.     |  |  |        |  |=====================||  |  |  |   cluster
  2981.     |  |  |        |  |  FAT entries        ||  |  |  |
  2982.     |  |  |        |  |  #2:   ,--[ 3 ]<--------------+ -----
  2983.     |  |  |        |  |  #3:   `->[ 4 ]--. --------'  |   FAT chain
  2984.     |  |  |        |  |  #4:      [EOF]<-' -----'     | -----
  2985.     |  |  |        |  |  ...............    ||        |
  2986.     |  |  |        `---- #MaxCls: [ 0 ] --- || ------ | - unused cluster
  2987.     |  |  |           |=====================||        |
  2988.     |  |  |           |  Root Directory     ||        |
  2989.     |  |  |           |  ...............    ||        |
  2990.     |  |  |           |  MYFILE.EXT  [2]--------------' - Starting cluster
  2991.     |  |  |           |  ...............    ||            number
  2992.     |  |  |           |=====================||
  2993.     |  |  |           | Compressed Data Area||
  2994.     |  |  |           |---------------------||---------------
  2995.     `------------------->Data Sector #0     ||         ^
  2996.        |  |  ^ 5 + 1  |  ...............    ||         |
  2997.        |  |  v sectors|  ...............    ||      Archive area where file
  2998.        `---------------->Data Sector #6     ||      MYFILE.EXT is recorded.
  2999.           |  ^        |  ...............    ||      Allocated space is:
  3000.           |  | 7 + 1  |  ...............    ||       (5+1 + 7+1 + 3+1)
  3001.           |  v sectors|  ...............    ||        * SectorSize = 9K
  3002.           `------------->Data Sector #14    ||         |
  3003.              ^ 3 + 1  |  ...............    ||         v
  3004.              v sectors|---------------------||---------------
  3005.                       |  ...............    ||
  3006.                       +---------------------+
  3007.  
  3008.  
  3009. JAM 1.20  User's Guide                                           Page 67
  3010. ------------------------------------------------------------------------
  3011.  
  3012. The JAM Descriptor table is located between the Boot Sector and the
  3013. first FAT on a JAM archive. This area is also visible on a JAM logical
  3014. drive as an extension of the boot area. Like the Boot Record, JDT is
  3015. accessible to DOS and standard application programs in read-only mode.
  3016. Further detailed consideration, regarding the JAM internal structures
  3017. is presented in Appendix C.
  3018.  
  3019.  
  3020.                                  Files
  3021.  
  3022. The information in a Logical Drive is stored in units called Files. From
  3023. user's point of view, a file contains a specific set of data, such as a
  3024. document, spreadsheet, data base, program, etc.
  3025.  
  3026. DOS stores the files on your Logical Drives using an integral number of
  3027. Clusters. A File always starts at the Beginning of a new Cluster, and
  3028. occupies as many Whole Clusters as required to contain the entire
  3029. file, even if this means that the last Cluster remains almost
  3030. completely empty (and therefore, wasted). Such wasted space is called
  3031. Slack space, and it is typical that 10% to 30% of your hard disk is
  3032. Slack space.
  3033.  
  3034. On JAM Drives all Clusters of the File are independently compressed,
  3035. and allocated as a portions of adjacent Sectors. Such technique allows
  3036. you almost completely eliminate the Slack space, thereby providing a
  3037. major ancillary benefit.
  3038.  
  3039.                               Directories
  3040.  
  3041. These are the disk data areas that hold the bookkeeping information
  3042. about disk files. All DOS Logical Drives have at least one Directory,
  3043. the Root Directory, which is stored at an easy-to-find place at the
  3044. start the drive.
  3045.  
  3046. For each File, DOS maintains a Directory Entry. It contains the File's
  3047. Name, Size, the Date and Time when it was created or last modified,
  3048. File Attribute information, and the disk address where the first part
  3049. of the file data is stored.
  3050.  
  3051. Besides standard File Entries, a Directory might contain two other
  3052. types of entries. First, the Root Directory may contain a Volume Label.
  3053. (It is displayed when you type DIR or JDIR from the DOS prompt, but
  3054. serves merely as an identifier.)
  3055.  
  3056. The other type of entry is a Subdirectory Entry. These are critical to
  3057. the operation of DOS. Instead of describing the size and location of a
  3058. file, each points to another directory.
  3059.  
  3060.  
  3061. JAM 1.20  User's Guide                                           Page 68
  3062. ------------------------------------------------------------------------
  3063.  
  3064. In all but the Root Directory, there are two special Subdirectory
  3065. Entries, with the Filenames of "." and ".." (dot and dot-dot, as
  3066. they're called, or sometimes, "self" and "parent").  The "." entry
  3067. points to cluster containing this directory, while ".." entry points
  3068. back to the directory in which it is described. This system helps DOS
  3069. climb around the directory tree.
  3070.  
  3071. On JAM drives both root-directory and subdirectories are not compressed.
  3072. This solution provides high speed of directory access and make usage of
  3073. compressed devices more reliable.
  3074.  
  3075.  
  3076. JAM 1.20  User's Guide                                           Page 69
  3077. ------------------------------------------------------------------------
  3078.  
  3079.                  Appendix  B.  JAM messages directory
  3080.               ===========================================
  3081.  
  3082. This appendix lists the JAM error messages in alphabetical order,
  3083. giving the origin of the message followed by an explanation of it and
  3084. where possible, suggestions for correcting the error.
  3085.  
  3086.  
  3087. Bad first cluster, or file 'xxxxxxxxxxx' is empty.
  3088.  
  3089. Origin          JMOUNT
  3090.  
  3091. Explanation     JMOUNT cannot determine the first cluster of JAM file
  3092.                 'xxxxxxxxxxx'.
  3093.  
  3094.                 Either you are running JMOUNT under incompatible
  3095.                 version of DOS or your hard disk file system is
  3096.                 seriously damaged.
  3097.  
  3098.                 Try to run JCHKDSK on your host drive. If JCHKDSK
  3099.                 detects an error with your JAM file and prompts you to
  3100.                 fix this error -- answer No and do the following steps:
  3101.  
  3102.                 1. Unmount all JAM drives which Archive Files are on a
  3103.                    defective disk.
  3104.  
  3105.                 2. Run a low-level disk analysing utility (for example,
  3106.                    Norton Utilities' DISKEDIT program), and try to
  3107.                    recover the FAT chain of your JAM file manually.
  3108.  
  3109.                 3. Run JCHKDSK, NDD, ScanDisk or other standard
  3110.                    disk-repairing utility to fix the other problems on
  3111.                    your hard disk.
  3112.  
  3113.                 4. Reboot your computer.
  3114.  
  3115.                 5. Run JCHKDSK /F /T on your JAM drives.
  3116.  
  3117.  
  3118. Bad volume label 'xxxxxxxxxxx'
  3119.  
  3120. Origin          JCHKDSK
  3121.  
  3122. Explanation     Either the root directory has two or more entries
  3123.                 marked as volume label, or entry xxxxxxxxxxx has
  3124.                 non-zero length (or start cluster).
  3125.  
  3126.                 Run JCHKDSK /F to convert this entry to file (or
  3127.                 sub-directory).
  3128.  
  3129.  
  3130. JAM 1.20  User's Guide                                           Page 70
  3131. ------------------------------------------------------------------------
  3132.  
  3133. Boot record / DOS DPB parameters mismatch.
  3134.  
  3135. Origin          JCHKDSK
  3136.  
  3137. Explanation     For no normal reason, disk parameters in Boot Record
  3138.                 and in system memory are different.
  3139.  
  3140.                 Try to reboot your computer and run JCHKDSK again.
  3141.  
  3142.  
  3143. CPU Intel 80188/186+ or NEC V20/V30 required.
  3144.  
  3145. Origin          JAM.SYS, JCHKDSK, JMAX
  3146.  
  3147. Explanation     JAM utilities need at least an Intel 80188/186+ or
  3148.                 NEC V20/V30 CPU to work properly. If you have one of
  3149.                 the more modern CPUs (I80386, I80486, or Pentium),
  3150.                 JAM will automatically detect and fully utilize its
  3151.                 power.
  3152.  
  3153.  
  3154. Cannot analyze a remote (or redirected to a network server) drive x:
  3155.  
  3156. Origin          JDIR
  3157.  
  3158. Explanation     JDIR cannot analyze file structure on networked or
  3159.                 non-standard DOS drives. This error cannot appear
  3160.                 on JAM drives.
  3161.  
  3162.                 To show list of files on a remote drive use DOS DIR
  3163.                 command instead.
  3164.  
  3165.  
  3166. Cannot change current position in file: xxxxxxxxxxxx
  3167.  
  3168. Origin          JSIZE
  3169.  
  3170. Explanation     Either your archive file has a serious allocation
  3171.                 error, or your hard disk controller cannot move its
  3172.                 read/write heads to the requested position.
  3173.  
  3174.                 Unmount all your JAM drives and try to run NDD,
  3175.                 ScanDisk or other standard disk-repairing utility on
  3176.                 your hard disk.
  3177.  
  3178.  
  3179. JAM 1.20  User's Guide                                           Page 71
  3180. ------------------------------------------------------------------------
  3181.  
  3182. Cannot change file attributes.
  3183.  
  3184. Origin          JCREATE, JSIZE
  3185.  
  3186. Expanation      JCREATE(JSIZE) cannot assign new attributes to the JAM
  3187.                 archive file.
  3188.  
  3189.                 Run NDD, ScanDisk or other standard disk-repairing
  3190.                 utility on your host drive.
  3191.  
  3192.  
  3193. Cannot check a SUBSTed or ASSIGNed drive x:
  3194.  
  3195. Origin          JCHKDSK
  3196.  
  3197. Explanation     The JCHKDSK utility does not work on drives formed by
  3198.                 the SUBST or ASSIGN command.
  3199.  
  3200.                 To check files on drive x:, deactivate SUBST (or
  3201.                 ASSIGN) and run JCHKDSK on the drive that was assigned
  3202.                 to drive x: instead.
  3203.  
  3204.  
  3205. Cannot check a remote (or redirected to a network server) drive x:
  3206.  
  3207. Origin          JCHKDSK
  3208.  
  3209. Explanation     You cannot use JCHKDSK to check a disk on a network
  3210.                 drive.
  3211.  
  3212.  
  3213. Cannot close file
  3214.  
  3215. Origin          JCREATE, JSIZE
  3216.  
  3217. Expanation      JCREATE(JSIZE) cannot complete operation on the JAM
  3218.                 archive file.
  3219.  
  3220.                 Unmount all your JAM drives and try to run NDD,
  3221.                 ScanDisk or other standard disk-repairing utility on
  3222.                 your hard disk.
  3223.  
  3224.  
  3225. Cannot create a JAM archive on a JAM drive.
  3226.  
  3227. Origin          JCREATE
  3228.  
  3229. Explanation     JAM cannot create (and work with) an archive located on
  3230.                 a compressed drive.
  3231.  
  3232.                 Try to specify another (non-compressed) disk as a host
  3233.                 drive for a JAM archive.
  3234.  
  3235.  
  3236. JAM 1.20  User's Guide                                           Page 72
  3237. ------------------------------------------------------------------------
  3238.  
  3239. Cannot create a JAM archive on a network drive.
  3240.  
  3241. Origin          JCREATE
  3242.  
  3243. Explanation     JAM cannot create (and work with) an archive located on
  3244.                 a network drive.
  3245.  
  3246.                 Try to specify another (local) disk as a host drive for
  3247.                 a JAM archive.
  3248.  
  3249.  
  3250. Cannot create an extendable archive on drive z:
  3251. File size (/S parameter) too small.
  3252.  
  3253. Origin          JCREATE
  3254.  
  3255. Explanation     The size of extendable archive's allocation structures
  3256.                 (JDT+FAT) is greater than specified file size.
  3257.  
  3258.                 Try to specify large file size (/S=400 (Kbytes) is
  3259.                 usually enough to create an extendable archive on ANY
  3260.                 host drive).
  3261.  
  3262.  
  3263. Cannot create file
  3264.  
  3265. Origin          JCREATE
  3266.  
  3267. Explanation     Either your target disk/directory is full or you have
  3268.                 problems with physical writing on your disk.
  3269.  
  3270.                 Try to run NDD or ScanDisk to test your hard disk.
  3271.  
  3272.  
  3273. Cannot extend file. Trying alternate method ...
  3274.  
  3275. Origin          JSIZE
  3276.  
  3277. Explanation     A file I/O error has occurred. In all cases, when DOS
  3278.                 fails to continue operation, JSIZE tries to analyze
  3279.                 information on host drive manually (bypassing DOS), and
  3280.                 finishes this action, or, when it is impossible --
  3281.                 makes undo changes.
  3282.  
  3283.                 Try to run NDD or ScanDisk to test your hard disk.
  3284.  
  3285.  
  3286. JAM 1.20  User's Guide                                           Page 73
  3287. ------------------------------------------------------------------------
  3288.  
  3289. Cannot locate DOS CDS array.
  3290.  
  3291. Origin          JSWAP
  3292.  
  3293. Explanation     Some control programs (like DR-DOS 3.31+) do not
  3294.                 initialize pointer to the DOS CDS array, during loading
  3295.                 device drivers.
  3296.  
  3297.                 To avoid this problem, run JSWAP.COM program from your
  3298.                 AUTOEXEC.BAT instead.
  3299.  
  3300.  
  3301. Cannot modify file: xxxxxxxxxxxx
  3302.  
  3303. Origin          JSIZE
  3304.  
  3305. Explanation     A file I/O error has occurred during file modification.
  3306.  
  3307.                 Unmount all your JAM drives and try to run NDD,
  3308.                 ScanDisk or other standard disk-repairing utility on
  3309.                 your hard disk.
  3310.  
  3311.  
  3312. Cannot mount file: xxxxxxxxxxxx in Undelete Compatible mode
  3313.  
  3314. Origin          JMOUNT
  3315.  
  3316. Explanation     Some of your pending deleted files cannot be recovered.
  3317.                 Having detected this, JMOUNT tries to mount archive
  3318.                 file in standard mode.
  3319.  
  3320.                 If you want to force the JAM driver work in Undelete
  3321.                 Compatible mode again, you should do the following:
  3322.  
  3323.                 1. Run JMAX /C on a JAM drive on which file
  3324.                    xxxxxxxxxxxx is mounted (to remove all pending
  3325.                    deleted files on archive).
  3326.  
  3327.                 2. Run JMOUNT /W+U again (to set Undelete Compatible
  3328.                    mode).
  3329.  
  3330.  
  3331. Cannot mount the Archive File located on a JAM device.
  3332. Cannot mount the Archive File located on a SUBSTituted device.
  3333. Cannot mount the Archive File located on a non-DOS device.
  3334.  
  3335. Origin          JMOUNT
  3336.  
  3337. Explanation     JAM cannot work with archive files located on a
  3338.                 compressed, SUBSTituted, or non-DOS drive.
  3339.  
  3340.  
  3341. JAM 1.20  User's Guide                                           Page 74
  3342. ------------------------------------------------------------------------
  3343.  
  3344. Cannot mount the Archive File located on a remote device.
  3345.  
  3346. Origin          JMOUNT
  3347.  
  3348. Explanation     The JAM driver cannot work with archive files located
  3349.                 on a remote server.
  3350.  
  3351.                 If you use one of the DOS-based LANs, you would have
  3352.                 access to remote JAM files by installing the JAM on a
  3353.                 server machine.
  3354.  
  3355.  
  3356. Cannot mount under DOS x.yy: too large FAT in archive xxxxxxxxxxxxx
  3357.  
  3358. Origin          JMOUNT
  3359.  
  3360. Explanation     Since MS-DOS 4.0, 4.01, 5.0, and PC-DOS 5.1 cannot
  3361.                 handle drives with large FATs (12-bit FAT >= 192
  3362.                 sectors) properly (bug in DOS's BPB-DPB convertor),
  3363.                 JMOUNT will not activate such JAM archive files.
  3364.  
  3365.                 Note: This error can appear only if you have created an
  3366.                       extendable JAM archive file using JCREATE R1.18.
  3367.                       Later versions of JCREATE utility can produce
  3368.                       extendable archives with 'sliding' FAT which can
  3369.                       be mounted without any restrictions.
  3370.  
  3371.                 To correct the FAT size (and its location) in such
  3372.                 archives you could use the JSIZE utility:
  3373.                    1) Extend the archive file, so that its logical
  3374.                       capacity will be greater than 32M,
  3375.                    2) Shrink the archive to its original size.
  3376.  
  3377.  
  3378. Cannot open JAM Archive File: xxxxxxxxxxx
  3379.  
  3380. Origin          JMOUNT, JSIZE
  3381.  
  3382. Explanation     You may receive this message if specified file does not
  3383.                 exist, its name was spelled incorrectly, or you have
  3384.                 too many open files.  To overcome the last case try to
  3385.                 specify large value for the FILES= variable in your
  3386.                 CONFIG.SYS file.
  3387.  
  3388.  
  3389. JAM 1.20  User's Guide                                           Page 75
  3390. ------------------------------------------------------------------------
  3391.  
  3392. Cannot read FAT on drive x:
  3393. Cannot read initial sector(s) of xxxxxxxxxxxxx
  3394. Cannot read sectors #xxx-yyy on drive z:
  3395.  
  3396. Origin          JMOUNT, JDIR, JMAX, JSIZE
  3397.  
  3398. Explanation     An error reading your physical drive has occurred.
  3399.  
  3400.                 To minimize the data loss the following steps should be
  3401.                 taken:
  3402.  
  3403.                 1. Unmount all JAM drives which Archive Files located
  3404.                    on a defective disk.
  3405.  
  3406.                 2. Run NDD, ScanDisk or other disk-repairing utility on
  3407.                    your hard disk.
  3408.  
  3409.                 3. Reboot your computer.
  3410.  
  3411.                 4. Run JCHKDSK /F /T on your JAM drives.
  3412.  
  3413.  
  3414. Cannot recover '.' and '..' entries
  3415.  
  3416. Origin          JCHKDSK
  3417.  
  3418. Explanation     There is no space in a directory to add '.' and '..'
  3419.                 entries (see also Explanation for message "Invalid '.'
  3420.                 and '..' entries").
  3421.  
  3422.                 Try to remove at least two files in this directory and
  3423.                 run JCHKDSK /F again.
  3424.  
  3425.  
  3426. Cannot resize a JAM archive located on a network device.
  3427.  
  3428. Origin          JSIZE
  3429.  
  3430. Explanation     JSIZE cannot modify an archive file located on a
  3431.                 network drive.
  3432.  
  3433.                 Try to run JSIZE on your remote machine instead.
  3434.  
  3435.  
  3436. Cannot resize a JAM archive: JDT+FAT size/maximum capacity mismatch.
  3437.  
  3438. Origin          JSIZE
  3439.  
  3440. Explanation     An error in JAM file boot record parameters (see
  3441.                 Appendix C for details).
  3442.  
  3443.  
  3444. JAM 1.20  User's Guide                                           Page 76
  3445. ------------------------------------------------------------------------
  3446.  
  3447. Cannot resolve pathname: xxxxxxxxxx
  3448.  
  3449. Origin          JDIR
  3450.  
  3451. Explanation     Specified pathname cannot be resolved to fully
  3452.                 qualified form (drive:\path\filename.ext). You may
  3453.                 receive these messages if specified drive does not
  3454.                 exist, there are problems with reading information from
  3455.                 this drive, or path\filename was spelled incorrectly.
  3456.  
  3457.  
  3458. Cannot select drive x:
  3459.  
  3460. Origin          JCHKDSK
  3461.  
  3462. Explanation     There was an error during reading status information
  3463.                 from drive x:. You may receive this message when you
  3464.                 forget to insert diskette in floppy-disk drive, or when
  3465.                 drive x: is a device driven drive (for example,
  3466.                 Secure File System's drive) which has not been mounted,
  3467.                 or is temporarily locked.
  3468.  
  3469.  
  3470. Cannot shrink file. Trying alternate method ...
  3471.  
  3472. Origin          JSIZE
  3473.  
  3474. Explanation     A file I/O error has occurred. In all cases, when DOS
  3475.                 fails to continue operation, JSIZE tries to analyze
  3476.                 information on host drive manually (bypassing DOS), and
  3477.                 finishes this action, or, when it is impossible --
  3478.                 makes undo changes.
  3479.  
  3480.                 Try to run NDD or ScanDisk to test your hard disk.
  3481.  
  3482.  
  3483. Cannot swap drives. DOS FASTOPEN installed.
  3484.  
  3485. Origin          JSWAP
  3486.  
  3487. Explanation     JSWAP has detected a DOS FASTOPEN utility. This program
  3488.                 keeps track for locations of most recently used files
  3489.                 on disks, so that DOS does not have to navigate along
  3490.                 the path every time the file is opened.
  3491.  
  3492.                 To swap drives correctly, you should unload the
  3493.                 FASTOPEN program or run JSWAP before loading it (for
  3494.                 example, using device statement in file CONFIG.SYS).
  3495.  
  3496.  
  3497. JAM 1.20  User's Guide                                           Page 77
  3498. ------------------------------------------------------------------------
  3499.  
  3500. Cannot swap drives. Drive x: is a JOINed drive.
  3501. Cannot swap drives. Drive x: is a SUBSTed drive.
  3502. Cannot swap drives. Drive x: is a network drive.
  3503. Cannot swap drives. Drive x: is a phantom drive.
  3504. Cannot swap drives. Drive x: is an ASSIGNed drive.
  3505.  
  3506. Origin          JSWAP
  3507.  
  3508. Explanation     JSWAP cannot interchange drive letters of non-physical
  3509.                 or non-device-driven DOS drives.
  3510.  
  3511.                 In most of these cases, you could simply change the
  3512.                 letter which is used to create a JOINed, ASSIGNed, or
  3513.                 SUBSTituted drive.
  3514.  
  3515.  
  3516. Cannot swap drives. Invalid drive specification x:
  3517.  
  3518. Origin          JSWAP
  3519.  
  3520. Explanation     Either specified drive does not exists or was spelled
  3521.                 incorrectly.
  3522.  
  3523.  
  3524. Cannot swap drives. Open files on drive x:
  3525.  
  3526. Origin          JSWAP
  3527.  
  3528. Explanation     JSWAP cannot change the name of drive containing open
  3529.                 files.
  3530.  
  3531.                 Close all files on drive x: and rerun JSWAP.
  3532.  
  3533.  
  3534. Cannot write sectors #xxx-yyy in file zzzzzzzzzzzz
  3535.  
  3536. Origin          JMAX, JSIZE
  3537.  
  3538. Explanation     An error writing to your physical drive has occurred.
  3539.  
  3540.                 To minimize the data loss the following steps should be
  3541.                 taken:
  3542.  
  3543.                 1. Unmount all JAM drives which Archive Files located
  3544.                    on a defective disk.
  3545.  
  3546.                 2. Run NDD, ScanDisk or other disk-repairing utility on
  3547.                    your hard disk.
  3548.  
  3549.                 3. Reboot your computer.
  3550.  
  3551.                 4. Run JCHKDSK /F /T on your JAM drives.
  3552.  
  3553.  
  3554. JAM 1.20  User's Guide                                           Page 78
  3555. ------------------------------------------------------------------------
  3556.  
  3557. Cluster #xxx (in directory 'yyyyyyyyyy') has not been taken for directory
  3558.  
  3559. Origin          JCHKDSK
  3560.  
  3561. Explanation     Cluster which is actually a sub-directory, has a
  3562.                 [Directory] flag set to OFF in JAM Descriptor Table
  3563.                 (see Appendix C for details).
  3564.  
  3565.                 The JAM driver cannot set [Directory] flag to a
  3566.                 sub-directory cluster only if this cluster has a bad
  3567.                 structure. Probably, some sectors in it were corrupted.
  3568.                 If this is in case (JCHKDSK shows series of others
  3569.                 errors like "Invalid entry name"), you should:
  3570.  
  3571.                 1. Move all correct files from this directory on any
  3572.                    other drive.
  3573.  
  3574.                 2. Run JCHKDSK /F and remove all invalid entries in this
  3575.                    subdirectory.
  3576.  
  3577.                 3. Use DOS RD/MD commands to delete this subdirectory
  3578.                    and create new with the same name.
  3579.  
  3580.                 4. Move all saved files back.
  3581.  
  3582.                 If JCHKDSK will find no other defects in this
  3583.                 subdirectory, you may either:
  3584.  
  3585.                 1. Run JCHKDSK /F -- to correct [Directory] flag,
  3586.  
  3587.                 or:
  3588.  
  3589.                 2. Ensure that there is at least 16K bytes of physical
  3590.                    free space on your JAM drive and simply move one of
  3591.                    files from this subdirectory to any other one, and
  3592.                    then -- move it back to this directory:  the JAM
  3593.                    driver will correct the [Directory] flag (and if the
  3594.                    directory was compressed -- decompress it) itself.
  3595.  
  3596.                 or:
  3597.  
  3598.                 3. Ensure that there is at least 16K bytes of physical
  3599.                    free space on your JAM drive. Then, change to this
  3600.                    subdirectory, and issue these DOS commands:
  3601.  
  3602.                        MKDIR XYZ
  3603.                        RMDIR XYZ
  3604.                        
  3605.                    (use any other name if directory named XYZ exists).
  3606.                    The JAM driver will correct the [Directory] flag 
  3607.                    (possibly decompressing the directory) itself.
  3608.  
  3609. JAM 1.20  User's Guide                                           Page 79
  3610. ------------------------------------------------------------------------
  3611.  
  3612. Cluster #xxx (in file 'yyyyyyyyyy') cannot be expanded
  3613.  
  3614. Origin          JCHKDSK, JMAX
  3615.  
  3616. Explanation     Compressed data integrity error. If this error is
  3617.                 detected by JMAX utility, it stops optimization process
  3618.                 and prompts you run JCHKDSK /F/T to check integrity of
  3619.                 the other clusters on disk.
  3620.  
  3621.                 You could either try to recover some data, which this
  3622.                 cluster contains, or clear it.
  3623.  
  3624.                 To recover the data you should copy file 'yyyyyyyyyy'
  3625.                 on any other drive, using DOS COPY command, and on all
  3626.                 messages like:
  3627.  
  3628.                 'Unable to read data from drive x: (Abort,Ignore,Fail)?'
  3629.  
  3630.                 answer 'I' - ignore. When this process finishes, you can
  3631.                 examine this copy of the file to see if it contain any
  3632.                 data you need.
  3633.  
  3634.                 If /F switch specified, JCHKDSK will prompt you to
  3635.                 clear this cluster. If you answer Y, JCHKDSK sets flag
  3636.                 [Allocated] to OFF in JAM Descriptor Table. This flag
  3637.                 will mean that this cluster consists of zeros (see
  3638.                 Appendix C for details).  If you answer N, JCHKDSK
  3639.                 keeps this cluster unchanged.
  3640.  
  3641.  
  3642. Cluster #xxx (in file 'yyyyyyyyyy') has been mistaken for directory
  3643.  
  3644. Origin          JCHKDSK
  3645.  
  3646. Explanation     Cluster which logically belongs to a file, has a
  3647.                 [Directory] flag set to ON in JAM Descriptor Table (see
  3648.                 Appendix C for details).  The JAM driver may set
  3649.                 [Directory] flag to a non-subdirectory cluster only if:
  3650.  
  3651.                 1. Data stored in this cluster have very similar
  3652.                    structure to one which have the DOS directories,
  3653.  
  3654.                 and
  3655.  
  3656.                 2. This cluster (or whole file) was written on disk
  3657.                    directly (i.e. bypassing DOS functions).
  3658.  
  3659.                 Use JCHKDSK /F to set this flag to off.
  3660.  
  3661.  
  3662. JAM 1.20  User's Guide                                           Page 80
  3663. ------------------------------------------------------------------------
  3664.  
  3665. Cluster #xxx (in file 'yyyyyyyyyy') has invalid compression level
  3666. Cluster #xxx (in file 'yyyyyyyyyy') has invalid location
  3667. Cluster #xxx (in file 'yyyyyyyyyy') has invalid size
  3668. Cluster #xxx (in file 'yyyyyyyyyy') is cross linked
  3669.         on sectors #xxx thru #yyy in JAM archive
  3670.  
  3671. Origin          JCHKDSK, JMAX, JSIZE
  3672.  
  3673. Explanation     Cluster has invalid parameter(s) in JAM Descriptor
  3674.                 Table (see Appendix C for details). Use JCHKDSK /F to
  3675.                 clear (physically deallocate) this cluster.
  3676.  
  3677.                 If physically cross-linked clusters were detected, it
  3678.                 is highly recommended to rerun JCHKDSK with /T switch
  3679.                 to test clusters' readability. This will help you to
  3680.                 select and clear only those clusters which actually are
  3681.                 damaged (i.e. cannot be expanded).
  3682.  
  3683.                 When the JAM driver detects any of these errors itself
  3684.                 (either during mounting an archive file, or during any
  3685.                 file operation on a compressed drive) it returns to DOS
  3686.                 the 'General Failure' error and switches this drive to
  3687.                 read-only mode (to minimize the data corruption).
  3688.  
  3689.                 So, whenever you find that your JAM drive is switched
  3690.                 to read-only mode you should do the following steps:
  3691.  
  3692.                 1. Run JCHKDSK /T on a JAM drive on which the file
  3693.                    yyyyyyyyyyy is mounted.
  3694.  
  3695.                 2. Analyze the list of errors produced by JCHKDSK.
  3696.  
  3697.                    a) Select all clusters which cannot be expanded.
  3698.  
  3699.                    b) Select files which have these non-expandable clusters.
  3700.  
  3701.                    c) Copy such files on any other drive, by DOS COPY
  3702.                       command and on all messages like:
  3703.  
  3704.                       'Unable to read data from drive x: (Abort,Ignore,Fail)?'
  3705.  
  3706.                       answer 'I' - ignore.
  3707.  
  3708.                 3. Run JCHKDSK /T /F again. On all messages like:
  3709.  
  3710.                    'Cluster #yyyyy (file 'xxxxxxxxxx') cannot be expanded,
  3711.                     Clear it [Y/N]?'
  3712.  
  3713.                    answer 'Y' - clear.
  3714.  
  3715.                 4. Run JMOUNT /W x: to switch a drive in read-write mode.
  3716.  
  3717.                 5. Replace all files which you have corrected by their copies.
  3718.  
  3719.  
  3720. JAM 1.20  User's Guide                                           Page 81
  3721. ------------------------------------------------------------------------
  3722.  
  3723. Cluster #xxx (in file 'yyyyyyyyyy') has not been deleted
  3724.  
  3725. Origin          JCHKDSK, JMAX, JSIZE
  3726.  
  3727. Explanation     Cluster which is logically deleted (e.g. has zero
  3728.                 entry in FAT), has not a [Deleted] flag set to OFF in
  3729.                 JAM Descriptor Table (e.g. occupies certain physical
  3730.                 space).
  3731.  
  3732.                 JCHKDSK /F will save this cluster as a new file (with
  3733.                 name like 'LOST0001.CHK') in the root directory (see
  3734.                 also JCHKDSK error 'xxxxxx lost allocation unit(s)
  3735.                 found in yyy chain(s)' for comments).
  3736.  
  3737.  
  3738. Cluster #xxx (in file 'yyyyyyyyyy') has not been undeleted
  3739.  
  3740. Origin          JCHKDSK, JMAX, JSIZE
  3741.  
  3742. Explanation     Cluster which is logically allocated (e.g. has non-zero
  3743.                 FAT value), has a [Deleted] flag set to ON in JAM
  3744.                 Descriptor Table (see Appendix C for details).
  3745.  
  3746.                 Use JCHKDSK /F to correct this flag (or, in case if
  3747.                 cluster cannot be undeleted -- to clear this cluster).
  3748.  
  3749.  
  3750. Cluster #xxx has incorrect FAT value
  3751.  
  3752. Origin          JMAX, JSIZE
  3753.  
  3754. Explanation     FAT entry contains incorrect value.
  3755.  
  3756.                 Run JCHKDSK /F /T to specity and fix the error.
  3757.  
  3758.  
  3759. Cluster #xxx is a compressed subdirectory
  3760.  
  3761. Origin          JMAX, JSIZE
  3762.  
  3763. Explanation     In normal conditions, the JAM driver does not compress
  3764.                 subdirectories. Moreover, if such subdirectory exists
  3765.                 and you want to create or delete any file in it, the
  3766.                 JAM driver will always try to expand and reallocate it
  3767.                 before modifying its data.
  3768.  
  3769.                 To force the JAM driver expand compressed subdirectory,
  3770.                 you should free at least 16K bytes of physical space on
  3771.                 the JAM drive, then change to this subdirectory and
  3772.                 issue these DOS commands:
  3773.  
  3774.                        MKDIR XYZ
  3775.                        RMDIR XYZ
  3776.  
  3777.                 (use any other name if directory named XYZ exists).
  3778.                        
  3779.  
  3780. JAM 1.20  User's Guide                                           Page 82
  3781. ------------------------------------------------------------------------
  3782.  
  3783. Clusters #xxx and #yyy have the same FAT value
  3784.  
  3785. Origin          JMAX, JSIZE
  3786.  
  3787. Explanation     Disk contains files cross-linked on FAT level.
  3788.  
  3789.                 Run JCHKDSK /F /T to specity and fix the error.
  3790.  
  3791.  
  3792. DESQview has been detected.
  3793. Jxxxxx cannot run in a multitasking environment.
  3794. DR-DOS 6.0 TaskMAX has been detected.
  3795. Jxxxxx cannot run in a multitasking environment.
  3796.  
  3797. Origin          JCHKDSK, JMAX, JSIZE, JSWAP
  3798.  
  3799. Explanation     DESQview (or DR-DOS TaskMAX) has been detected.
  3800.  
  3801.                 Please exit your task switcher and run corresponding
  3802.                 JAM utility program (JCHKDSK, JMAX, JSIZE, or JSWAP)
  3803.                 from the DOS command line.
  3804.  
  3805.                 Warning: If you start JCHKDSK, JMAX, JSIZE, or JSWAP
  3806.                          from some non-standard multitasking programs,
  3807.                          you may lose data.
  3808.  
  3809.  
  3810.  
  3811. Disk error #xxx: yyyyyyyyyyyyyyyyy
  3812.  
  3813. Origin          JCHKDSK, JSIZE
  3814.  
  3815. Explanation     An error occurred during direct reading from (writing to)
  3816.                 the disk.  The following list describes each of the
  3817.                 values you may receive as xxx:
  3818.  
  3819.                 13h - attempted write on write-protected disk
  3820.                 14h - unknown unit ID
  3821.                 15h - disk drive not ready
  3822.                 16h - unknown command
  3823.                 17h - disk data error (CRC error)
  3824.                 18h - bad request structure length
  3825.                 19h - disk seek error
  3826.                 1ah - unknown disk media type
  3827.                 1bh - disk sector not found
  3828.                 1dh - write fault error
  3829.                 1eh - read fault error
  3830.                 1fh - general failure
  3831.  
  3832.                 Unmount all your JAM drives and try to run NDD,
  3833.                 ScanDisk or other standard disk-repairing utility on
  3834.                 your hard disk.
  3835.  
  3836.  
  3837. JAM 1.20  User's Guide                                           Page 83
  3838. ------------------------------------------------------------------------
  3839.  
  3840. Drive x: is not a JAM device.
  3841.  
  3842. Origin          JMOUNT, JMAX
  3843.  
  3844. Explanation     Specified (or default) drive is not a JAM drive.
  3845.  
  3846.                 To show the map of all existing JAM drives you may
  3847.                 run JMOUNT utility without parameters
  3848.  
  3849.  
  3850. Drive/pathname: xxxxxxxxxxxx
  3851.  redirected to: yyyyyyyyyyyy
  3852.  
  3853. Origin          JDIR
  3854.  
  3855. Explanation     This message may appear if you run JDIR on a JOINed,
  3856.                 SUBSTituted, ASSIGNed, or networked drives. In all such
  3857.                 cases yyyyyyyyyyyy means 'true' pathname that would be
  3858.                 needed if the drive/path were not redirected as
  3859.                 xxxxxxxxxxx.
  3860.  
  3861.  
  3862. Drives should be different.
  3863.  
  3864. Origin          JSWAP
  3865.  
  3866. Explanation     JSWAP cannot interchange the drive letter with itself.
  3867.  
  3868.  
  3869. Entry 'xxxxxxxxxx' has a bad attribute
  3870.  
  3871. Origin          JCHKDSK
  3872.  
  3873. Explanation     Entry has incorrect combination of file attributes (for
  3874.                 example, Sub-directory and Volume Label).
  3875.  
  3876.                 Run JCHKDSK /F to correct this problem.
  3877.  
  3878.  
  3879. Entry 'xxxxxxxxxx' has invalid first cluster
  3880.  
  3881. Origin          JCHKDSK
  3882.  
  3883. Explanation     File or directory has an invalid link to the File
  3884.                 Allocation Table.
  3885.  
  3886.                 JCHKDSK /F could only remove such entry.
  3887.  
  3888.                 Nevertheless, if the FAT still contains a valid
  3889.                 allocation chain, JCHKDSK will assign to it a file like
  3890.                 LOST0001.CHK in the root directory. See also JCHKDSK
  3891.                 error 'xxxxxx lost allocation unit(s) found in yyy
  3892.                 chain(s)' for further details.
  3893.  
  3894.  
  3895. JAM 1.20  User's Guide                                           Page 84
  3896. ------------------------------------------------------------------------
  3897.  
  3898. Entry 'xxxxxxxxxx', points into 'yyyyyyyyyy'
  3899.  
  3900. Origin          JCHKDSK
  3901.  
  3902. Explanation     First cluster of entry xxxxxxxxxx points into disk area
  3903.                 already occupied by file yyyyyyyyyy.
  3904.  
  3905.                 Use JCHKDSK /F to remove this entry.
  3906.  
  3907.                 DO NOT use DOS's DEL command!
  3908.  
  3909.  
  3910. Entry has a bad name 'xxxxxxxxxx'
  3911.  
  3912. Origin          JCHKDSK
  3913.  
  3914. Explanation     The directory has entry with invalid filename.
  3915.  
  3916.                 Use JCHKDSK /F to remove this entry.
  3917.  
  3918.  
  3919. Entry has a duplicated name 'xxxxxxxxxx'
  3920.  
  3921. Origin          JCHKDSK
  3922.  
  3923. Explanation     The directory has at least two entries with the same
  3924.                 names.
  3925.  
  3926.                 Currently you have access only to the first entry in
  3927.                 such directory (which contains duplicated filenames).
  3928.  
  3929.                 To have access to second entry (file or directory) you
  3930.                 should rename first one (for example, using DOS RENAME
  3931.                 command).
  3932.  
  3933.  
  3934. File 'xxxxxxxxxx' already exists
  3935.  
  3936. Origin          JCREATE
  3937.  
  3938. Explanation     Specified file already exist. You should use another
  3939.                 name (or path), or delete existing file if you have
  3940.                 just created it by running JCREATE with wrong
  3941.                 parameters.
  3942.  
  3943.  
  3944. File 'xxxxxxxxxx' can be extended only on yyyyyyK bytes.
  3945. File 'xxxxxxxxxx' can be shrunk only on yyyyyyK bytes.
  3946. File 'xxxxxxxxxx' cannot be extended.
  3947. File 'xxxxxxxxxx' cannot be shrunk.
  3948.  
  3949. Origin          JSIZE
  3950.  
  3951. Explanation     Specified [+|-]size parameter is out of range, or file
  3952.                 cannot be extended (shrunk) any more.
  3953.  
  3954.  
  3955. JAM 1.20  User's Guide                                           Page 85
  3956. ------------------------------------------------------------------------
  3957.  
  3958. File 'xxxxxxxxxx' has allocation error !!!
  3959.  
  3960. Origin          JDIR
  3961.  
  3962. Explanation     File xxxxxxxxx seriously damaged. Possible one of the
  3963.                 following allocation errors:
  3964.  
  3965.                 1. File has invalid starting cluster number
  3966.                 2. One of entries in FAT chain has invalid value
  3967.                 3. One of entries in FAT chain is marked as bad cluster
  3968.                 4. One of entries in FAT chain makes a circular link
  3969.                 5. File size/ length of FAT chain mismatch
  3970.  
  3971.                 Run JCHKDSK /F to specity and fix the error.
  3972.  
  3973.  
  3974. File 'xxxxxxxxxx' has a bad link
  3975.  
  3976. Origin          JCHKDSK
  3977.  
  3978. Explanation     File or directory xxxxxxxxxxx has an invalid link in
  3979.                 FAT chain.
  3980.  
  3981.                 If you specify the /F parameter, JCHKDSK will truncate
  3982.                 this file at the last valid cluster.
  3983.  
  3984.  
  3985. File 'xxxxxxxxxx' has a circular link
  3986.  
  3987. Origin          JCHKDSK
  3988.  
  3989. Explanation     Circular link found in file xxxxxxxxxxx.
  3990.  
  3991.                 Use JCHKDSK /F to break the loop in FAT chain.
  3992.  
  3993.  
  3994. File 'xxxxxxxxxx' has invalid size.
  3995.  
  3996. Origin          JCHKDSK
  3997.  
  3998. Explanation     File size/ length of FAT chain mismatch.
  3999.  
  4000.                 Use JCHKDSK /F to adjust file size to the amount of
  4001.                 space it occupies on the disk.
  4002.  
  4003.  
  4004. JAM 1.20  User's Guide                                           Page 86
  4005. ------------------------------------------------------------------------
  4006.  
  4007. File 'xxxxxxxxxx' has too long FAT chain.
  4008.  
  4009. Origin          JCHKDSK
  4010.  
  4011. Explanation     The amount of space occupied by the file xxxxxxxxxxx
  4012.                 (length of FAT chain) is larger than its size (value
  4013.                 described in directory entry).
  4014.  
  4015.                 Using JCHKDSK /F you could either truncate FAT chain,
  4016.                 or continue checking assuming that FAT contains true
  4017.                 information. In the second case JCHKDSK will
  4018.                 prompt you to correct file size (see previous message).
  4019.  
  4020.  
  4021.  
  4022. File 'xxxxxxxxxx' is empty.
  4023.  
  4024. Origin          JCHKDSK
  4025.  
  4026. Explanation     This warning may appear if you run JCHKDSK /E.
  4027.                 Some of empty files could be left on your disk since
  4028.                 system hangs, crashes, etc.
  4029.  
  4030.                 If /F switch also specified JCHKDSK will prompt you to
  4031.                 remove such files.
  4032.  
  4033.  
  4034. File 'xxxxxxxxxx' is not a JAM Archive.
  4035.  
  4036. Origin          JMOUNT, JSIZE
  4037.  
  4038. Explanation     Either specified file has never been a JAM Archive, or
  4039.                 it is a seriously damaged JAM File. In the latter case,
  4040.                 you should contact us for technical support.
  4041.  
  4042.  
  4043. File 'xxxxxxxxxx' not found.
  4044.  
  4045. Origin          JMOUNT, JSIZE, JCMD
  4046.  
  4047. Explanation     Either specified file does not exist or spelled
  4048.                 incorrectly.
  4049.  
  4050.                 To activate JAM drive or to change its size, you
  4051.                 should specify the name of corresponding Archive File
  4052.                 as an essential parameter.
  4053.  
  4054.                 To install JAM command interceptor (JCMD utility), you
  4055.                 should be sure that program files JDIR.COM and
  4056.                 JCHKDSK.COM will be found in current (or specified in
  4057.                 command line) directory.
  4058.  
  4059.  
  4060. JAM 1.20  User's Guide                                           Page 87
  4061. ------------------------------------------------------------------------
  4062.  
  4063. File 'xxxxxxxxxx' size/FAT chain mismatch.
  4064.  
  4065. Origin          JMOUNT
  4066.  
  4067. Explanation     Specified JAM archive file (and host drive's file
  4068.                 system) is seriously damaged.
  4069.  
  4070.                 Try to recover file xxxxxxxxxxxx manually (using Norton
  4071.                 Utilities' DISKEDIT or other low-level disk-analyzing
  4072.                 program), and then do the following steps:
  4073.  
  4074.                 1. Unmount all JAM drives which Archive Files are on a
  4075.                    defective disk.
  4076.  
  4077.                 2. Run NDD, ScanDisk or other standard disk-repairing
  4078.                    utility on your hard disk.
  4079.  
  4080.                 3. Reboot your computer.
  4081.  
  4082.                 4. Run JCHKDSK /F /T on your JAM drives.
  4083.  
  4084.  
  4085. File 'xxxxxxxxxx' too fragmented.
  4086.  
  4087. Origin          JMOUNT
  4088.  
  4089. Explanation     JAM driver is able to handle archive files which
  4090.                 consist of up to 16 separate contiguous areas upon the
  4091.                 host drive. A file which resides in many such separate
  4092.                 areas is said to be Fragmented. Large Archive Files
  4093.                 might to be too fragmented for the JAM to handle, and
  4094.                 therefore require special treatment.
  4095.  
  4096.                 Run a disk defragmentation utility (e.g. Gazelle
  4097.                 Systems' OPTune, Norton Utilities' SPEEDISK (MS-DOS
  4098.                 6.0+ DEFRAG), Central Point Software's COMPRESS, and
  4099.                 alike) on your Host Drive, and then rerun JMOUNT.
  4100.  
  4101.                 Note:   Such utilities usually do not work with DOS
  4102.                         files that have the "Hidden" attribute.
  4103.                         Therefore, you must first remove the "Hidden"
  4104.                         attribute from the JAM files. You should then
  4105.                         use the utility program to reorganize the Host
  4106.                         Drive, and once again assign the "Hidden"
  4107.                         attribute to the JAM files.
  4108.  
  4109.                 Having done so, IMMEDIATELY REBOOT the computer system.
  4110.  
  4111. JAM 1.20  User's Guide                                           Page 88
  4112. ------------------------------------------------------------------------
  4113.  
  4114. File not found.
  4115.  
  4116. Origin          JDIR
  4117.  
  4118. Explanation     File(s) not matched in a directory, or specified
  4119.                 directory is empty.
  4120.  
  4121.                 To show list of ALL files (including special system and
  4122.                 hidden files) a in subdirectory you could rerun JDIR
  4123.                 with /A switch:
  4124.  
  4125.                         JDIR pathname\*.* /A
  4126.  
  4127.  
  4128. File search error.
  4129.  
  4130. Origin          JCMD
  4131.  
  4132. Explanation     Either specified drive does not exist, or
  4133.                 drive\pathname was spelled incorrectly.
  4134.  
  4135.  
  4136. Files 'xxxxxxxxxx' and 'yyyyyyyyyyy' are cross linked on allocation unit #zzzz.
  4137.  
  4138. Origin          JCHKDSK
  4139.  
  4140. Explanation     Files or directories are recorded as using the same
  4141.                 disk space.
  4142.  
  4143.                 JCHKDSK will not fix a cross-linked files, even if you
  4144.                 specify the /F switch. To fix a cross-linked file, copy
  4145.                 the specified files or directories elsewhere and delete
  4146.                 the originals.
  4147.  
  4148.                 Some of the information in these files may be lost.
  4149.  
  4150.  
  4151. JAM 1.20  User's Guide                                           Page 89
  4152. ------------------------------------------------------------------------
  4153.  
  4154. Host drive error #xxx.
  4155.  
  4156. Origin          JMOUNT, JCHKDSK
  4157.  
  4158. Explanation     An error reading (or writing) physical drive has
  4159.                 occurred.
  4160.  
  4161.                 To minimize the data loss the following steps should be
  4162.                 taken:
  4163.  
  4164.                 1. Unmount all JAM drives which Archive Files are on a
  4165.                    defective disk.
  4166.  
  4167.                 2. Run NDD, ScanDisk or other standard disk-repairing
  4168.                    utility on your hard disk.
  4169.  
  4170.                 3. Reboot your computer.
  4171.  
  4172.                 4. Run JCHKDSK /F /T on your JAM drives.
  4173.  
  4174.  
  4175. Incompatible JAM Archive File version.
  4176.  
  4177. Origin          JMOUNT, JSIZE
  4178.  
  4179. Explanation     Specified JAM Archive file is created by incompatible
  4180.                 version of the JCREATE utility.
  4181.  
  4182.                 You should either reinstall the latest release of the
  4183.                 JAM package you have, or (if this error appears again)
  4184.                 you could contact us to get the latest official
  4185.                 version.
  4186.  
  4187.  
  4188. Incompatible sector size on drive x:
  4189.  
  4190. Origin          JCREATE, JMOUNT, JSIZE
  4191.  
  4192. Explanation     JAM driver does not support devices with non-standard
  4193.                 sector size (almost all hard-disks use 512-bytes
  4194.                 sectors).
  4195.  
  4196.                 You may receive this error working with some hard disk
  4197.                 partitioning programs (like SpeedStor or Disk Manager),
  4198.                 or RAM-disk utility (like PC-DOS, DR-DOS, or Novell
  4199.                 DOS's VDISK.SYS or MS-DOS's RAMDRIVE.SYS driver.
  4200.  
  4201.                 In most cases, it is possible to make these programs
  4202.                 use 512-bytes sectors (refer to your DOS or Disk
  4203.                 Manager User's Guide for details).
  4204.  
  4205.  
  4206. JAM 1.20  User's Guide                                           Page 90
  4207. ------------------------------------------------------------------------
  4208.  
  4209. Incorrect DOS version.
  4210.  
  4211. Origin          All JAM utility programs.
  4212.  
  4213. Explanation     The JAM has NOT been tested with version of DOS that
  4214.                 your computer has now.
  4215.  
  4216.                 JAM 1.20 is fully compatible with the following Disk
  4217.                 Operating Systems (Control Programs):
  4218.  
  4219.                 1. PC-DOS 3.30, 5.02, 6.01, 6.3
  4220.                 2. MS-DOS 3.30, 4.01, 5.0, 6.0, 6.2, and 7.0beta (January 1994)
  4221.                 3. Compaq DOS 3.31, 5.0
  4222.                 4. DR-DOS 6.0 (April 1992 and earlier releases)
  4223.                 5. Novell DOS 7, 7.1
  4224.  
  4225.                 If you have newer release of MS-DOS, PC-DOS or Novell
  4226.                 DOS, please contact us for upgrade information.
  4227.  
  4228.  
  4229. Incorrect DOS OEM number.
  4230.  
  4231. Origin          JAM.SYS
  4232.  
  4233. Explanation     Your computer has a DOS with uncommon OEM number.
  4234.  
  4235.                 JAM device driver accepts any MS-DOS-compatible
  4236.                 Operating Systems with version 3.30-7.0 and with the
  4237.                 following OEM signatures:
  4238.  
  4239.                 00h  - IBM
  4240.                 01h  - Compaq
  4241.                 0Dh  - Packard-Bell
  4242.                 0FFh - Microsoft
  4243.  
  4244.                 If you have received this message, you should contact
  4245.                 us for upgrade information.
  4246.  
  4247.  
  4248. Incorrect JAM driver version.
  4249.  
  4250. Origin          JCMD, JMOUNT, JDIR, JCHKDSK, JSIZE, JSWAP
  4251.  
  4252. Explanation     You have incompatible versions of the JAM device driver
  4253.                 (file JAM.SYS) and its utility programs (like JMOUNT,
  4254.                 JDIR, JCHKDSK, JSIZE, JSWAP, or JCMD).
  4255.  
  4256.                 You should either reinstall the latest release of the
  4257.                 JAM package you have, or (if this error appears again)
  4258.                 you could contact us to get the latest official
  4259.                 version.
  4260.  
  4261.  
  4262. JAM 1.20  User's Guide                                           Page 91
  4263. ------------------------------------------------------------------------
  4264.  
  4265. Incorrect maximum file size (/X) parameter.
  4266.  
  4267. Origin          JCREATE
  4268.  
  4269. Explanation     The maximum size of extendable JAM archive specified
  4270.                 incorrectly.
  4271.  
  4272.                 The maxsize value should always be greater than 392K
  4273.                 bytes and less than or equal to 512M bytes.
  4274.  
  4275.                 The upper limit should also be less or equal to the
  4276.                 capacity of the host drive (i.e. you cannot create an
  4277.                 archive with maxsize=512M on 128M drive).
  4278.  
  4279.  
  4280. Incorrect parameter: xxxxxxxxxx
  4281.  
  4282. Origin          All JAM utility programs
  4283.  
  4284. Explanation     The specified parameter is not supported by the utility
  4285.                 or specified value is out of range.
  4286.  
  4287.                 Look for corresponding section in Chapter 4. 'Command
  4288.                 Reference' or rerun your utility program with /? (or
  4289.                 /h) switch for help.
  4290.  
  4291.  
  4292. Insufficient memory.
  4293.  
  4294. Origin          JAM.SYS
  4295.  
  4296. Explanation     Insufficient memory to install the JAM driver.
  4297.  
  4298.                 Try reduce number of buffers (/A and /B parameters),
  4299.                 and restart system.
  4300.  
  4301.                 You may also receive this message if you have tried to
  4302.                 load JAM Driver high with some unsupported memory
  4303.                 management software (currently MS-DOS, PC-DOS, DR-DOS
  4304.                 and Novell DOS EMM386.SYS drivers were tested, as well
  4305.                 as QEMM, 386MAX, etc.). If the problem disappears when
  4306.                 loading driver low, please contact us for upgrade
  4307.                 information.
  4308.  
  4309.  
  4310. Insufficient room in root directory.
  4311.  
  4312. Origin          JCHKDSK
  4313.  
  4314. Explanation     JCHKDSK cannot add entry (usually to save lost chains)
  4315.                 to the root directory.
  4316.  
  4317.                 Move some files from root directory and repeat JCHKDSK.
  4318.  
  4319.  
  4320. JAM 1.20  User's Guide                                           Page 92
  4321. ------------------------------------------------------------------------
  4322.  
  4323. Invalid '.' and '..' entries
  4324.  
  4325. Origin          JCHKDSK
  4326.  
  4327. Explanation     Either directory is totally empty, or it does not
  4328.                 contain '.' and '..' entries, or information stored in
  4329.                 them is not correct.
  4330.  
  4331.                 Run JCHKDSK /F to reconstruct these entries.
  4332.  
  4333.                 In a subdirectory, the first two entries, (.) and (..),
  4334.                 are not really files, but part of DOS's bookkeeping.
  4335.                 They are pointers to where this subdirectory and its
  4336.                 parent directory are on disk.
  4337.  
  4338.                 The (.) file points to itself (its starting cluster is
  4339.                 the same as the actual cluster location of the
  4340.                 subdirectory "file" on the disk). The (..) file points
  4341.                 to where it came from (its parent directory).
  4342.  
  4343.  
  4344. Invalid (or DOS reserved) file name: xxxxxxxxxxxx
  4345.  
  4346. Origin          JCREATE, JMOUNT, JSIZE
  4347.  
  4348. Explanation     Specified filename cannot be resolved to fully
  4349.                 qualified form (drive:\path\filename.ext).
  4350.  
  4351.                 You may receive this message if specified drive does
  4352.                 not exist, path\filename was spelled incorrectly, or if
  4353.                 you have specified some MS-DOS reserved name (for
  4354.                 example, PRN, CON, NUL, CLOCK$ ...).
  4355.  
  4356.  
  4357. Invalid boot record in JAM Archive file: xxxxxxxxxxxx
  4358. Invalid boot record on JAM drive y:
  4359.  
  4360. Origin          JMOUNT, JSIZE, JDIR, JMAX
  4361.  
  4362. Explanation     The JAM file xxxxxxxxxxxx (or drive y:) has invalid
  4363.                 boot record parameters.
  4364.  
  4365.                 Either file xxxxxxxxxxx (or drive y:) is seriously
  4366.                 damaged or it is not a JAM file (drive).
  4367.  
  4368.                 Files (drives) that have been damaged in this way
  4369.                 cannot be recovered automatically. Refer to the
  4370.                 Appendix C for technical information.
  4371.  
  4372.  
  4373. JAM 1.20  User's Guide                                           Page 93
  4374. ------------------------------------------------------------------------
  4375.  
  4376. Invalid combination of command line switches.
  4377.  
  4378. Origin          JMOUNT, JCHKDSK
  4379.  
  4380. Explanation     Specified switch does not supported by JMOUNT or two of
  4381.                 specified switches cannot be used simultaneously.
  4382.  
  4383.                 Look for corresponding section in Chapter 4. 'Command
  4384.                 Reference' or run your utility program with /? switch
  4385.                 for help.
  4386.  
  4387.  
  4388. Invalid disk parameters in boot record.
  4389.  
  4390. Origin          JCHKDSK
  4391.  
  4392. Explanation     Some logical characteristics of your disk found in Boot
  4393.                 Sector appear to be incorrect.
  4394.  
  4395.                 JCHKDSK cannot perform further testing.
  4396.  
  4397.  
  4398. Invalid drive in JAM Archive File specification: xxxxxxxxxxx
  4399.  
  4400. Origin          JMOUNT
  4401.  
  4402. Explanation     Specified filename contains invalid host drive
  4403.                 specification.
  4404.  
  4405.  
  4406. Invalid drive specification x:
  4407.  
  4408. Origin          JCREATE, JMOUNT, JDIR, JCHKDSK, JSWAP
  4409.  
  4410. Explanation     Specified drive does not exist, or it was spelled
  4411.                 incorrectly.
  4412.  
  4413.                 To show the map of all existing JAM drives you may
  4414.                 run JMOUNT utility without parameters
  4415.  
  4416.  
  4417. Invalid parameter: xxxxxxxx
  4418. Invalid switch: xxxxxxxx
  4419.  
  4420. Origin          All JAM utility programs
  4421.  
  4422. Explanation     The specified parameter or switch is not supported by
  4423.                 the utility or specified value is out of range.
  4424.  
  4425.                 Look for corresponding section in Chapter 4. 'Command
  4426.                 Reference' or run your utility program with /? switch
  4427.                 for help.
  4428.  
  4429.  
  4430. JAM 1.20  User's Guide                                           Page 94
  4431. ------------------------------------------------------------------------
  4432.  
  4433. Invalid signature in boot record.
  4434.  
  4435. Origin          JCHKDSK
  4436.  
  4437. Explanation     The drive is missing End of Boot Record signature
  4438.                 (55AAh).
  4439.  
  4440.                 Run JCHKDSK /F to fix this problem.
  4441.  
  4442.  
  4443. JAM Archive File specification expected.
  4444.  
  4445. Origin          JMOUNT
  4446.  
  4447. Explanation     Name of the JAM-file was omitted or spelled
  4448.                 incorrectly. To mount the JAM drive, you should specify
  4449.                 its Archive File as an essential parameter.
  4450.  
  4451.  
  4452. JAM Archive File xxxxxxxxxxx already mounted as drive y:
  4453.  
  4454. Origin          JMOUNT
  4455.  
  4456. Explanation     You CANNOT mount a JAM Archive File as two or more JAM
  4457.                 drives.
  4458.  
  4459.                 To associate files on the JAM drive with different path
  4460.                 or drive letter you could use DOS's ASSIGN, JOIN, or
  4461.                 SUBST commands. See your DOS User's Guide for details.
  4462.  
  4463.  
  4464. JAM Archive file xxxxxxxxxx cluster size too large.
  4465.  
  4466. Origin          JMOUNT
  4467.  
  4468. Explanation     The JAM file xxxxxxxxxx has larger cluster size than
  4469.                 JAM.SYS driver is currently supported.
  4470.  
  4471.                 Add /C=8 to the JAM.SYS line in CONFIG.SYS and reboot.
  4472.  
  4473.  
  4474. JAM 1.20  User's Guide                                           Page 95
  4475. ------------------------------------------------------------------------
  4476.  
  4477. JAM Archive file xxxxxxxxxxx structure error - mounted read-only.
  4478.  
  4479. Origin          JMOUNT
  4480.  
  4481. Explanation     A serious error in the JAM archive file structure was
  4482.                 detected. To minimize the data loss, the following
  4483.                 steps should be taken:
  4484.  
  4485.                 1. Run JCHKDSK /T on a JAM drive on which the file
  4486.                    xxxxxxxxxxx is mounted.
  4487.  
  4488.                 2. Analyze the list of errors produced by JCHKDSK.
  4489.  
  4490.                    a) Select all clusters which cannot be expanded.
  4491.  
  4492.                    b) Select files which have these non-expandable clusters.
  4493.  
  4494.                    c) Copy such files on any other drive, by DOS COPY
  4495.                       command and on all messages like:
  4496.  
  4497.                       'Unable to read data from drive x: (Abort,Ignore,Fail)?'
  4498.  
  4499.                       answer 'I' - ignore.
  4500.  
  4501.                 3. Run JCHKDSK /T /F again. On all messages like:
  4502.  
  4503.                    'Cluster #yyyyy (file 'xxxxxxxxxx') cannot be expanded,
  4504.                     Clear it [Y/N]?'
  4505.  
  4506.                    answer 'Y' - clear.
  4507.  
  4508.                 4. Run JMOUNT /W x: to switch a drive in read-write mode.
  4509.  
  4510.                 5. Replace all files which you have corrected by their copies.
  4511.  
  4512.  
  4513. JAM drive x: already mounted.
  4514.  
  4515. Origin          JMOUNT
  4516.  
  4517. Explanation     Specified JAM drive already mounted.
  4518.  
  4519.                 Run JMOUNT /D x: to deactivate this drive and run
  4520.                 JMOUNT again to attach new Archive File to the JAM
  4521.                 drive x:
  4522.  
  4523.  
  4524. JAM drive x: already unmounted.
  4525.  
  4526. Origin          JMOUNT
  4527.  
  4528. Explanation     Specified JAM drive already unmounted.
  4529.  
  4530.  
  4531. JAM 1.20  User's Guide                                           Page 96
  4532. ------------------------------------------------------------------------
  4533.  
  4534. JAM drive x: locked.
  4535.  
  4536. Origin          JMOUNT, JCHKDSK, JMAX
  4537.  
  4538. Explanation     Specified JAM drive is locked by another JAM utility
  4539.                 (for example, by JMAX or JCHKDSK).
  4540.  
  4541.                 You may receive this message if you run JMOUNT from a
  4542.                 multitasking program other than MS-Windows, DESQview,
  4543.                 MS-DOS Task Switcher, or DR-DOS TaskMAX.
  4544.  
  4545.                 Check out the other sessions of your task manager, and
  4546.                 wait while JMAX or JCHKDSK finishes its work.
  4547.  
  4548.  
  4549. JAM drive x: mounted read-only.
  4550.  
  4551. Origin          JMAX
  4552.  
  4553. Explanation     JMAX cannot optimize read-only mounted JAM drives.
  4554.  
  4555.                 Run JMOUNT /W x: to enable write on drive x:.
  4556.  
  4557.  
  4558. JAM drive x: not mounted.
  4559.  
  4560. Origin          JCHKDSK, JMAX
  4561.  
  4562. Explanation     Specified JAM drive not mounted.
  4563.  
  4564.                 Mount a JAM archive file to the drive x: (using
  4565.                 JMOUNT utility) and rerun JCHKDSK (or JMAX).
  4566.  
  4567.  
  4568. JAM driver not installed.
  4569.  
  4570. Origin          JMOUNT, JMAX
  4571.  
  4572. Explanation     JMOUNT (or JMAX) cannot perform any action (except
  4573.                 displaying help screen -- on /? switch) without JAM
  4574.                 driver in memory.
  4575.  
  4576.                 Install JAM driver (using device statement in
  4577.                 CONFIG.SYS file) and rerun JMOUNT.
  4578.  
  4579.  
  4580. JAM 1.20  User's Guide                                           Page 97
  4581. ------------------------------------------------------------------------
  4582.  
  4583. JAM file size/boot record parameters mismatch.
  4584.  
  4585. Origin          JMOUNT, JSIZE
  4586.  
  4587. Explanation     Either your host drive file system is seriously damaged,
  4588.                 or file has invalid parameters in boot record.
  4589.  
  4590.                 To check the host drive file system run NDD, ScanDisk
  4591.                 or other standard disk repairing utility.
  4592.  
  4593.                 If it will not detect any problem -- try to learn the
  4594.                 contents of archive file's boot sector. Refer to the
  4595.                 Appendix C for technical information.
  4596.  
  4597.  
  4598. JAM file xxxxxxxxx mounted as drive y:
  4599. Please, deactivate this file (type JMOUNT /D y:), and then rerun JSIZE.
  4600.  
  4601. Origin          JSIZE
  4602.  
  4603. Explanation     JSIZE cannot resize an active JAM archive file.
  4604.  
  4605.                 Deactivate this file (type JMOUNT /D y:), and then
  4606.                 rerun JSIZE.
  4607.  
  4608.  
  4609. JAM-drive specification expected.
  4610.  
  4611. Origin          JMOUNT
  4612.  
  4613. Explanation     JMOUNT cannot determine to which JAM drive specified
  4614.                 action (/D, or /U switches) refers.
  4615.  
  4616.                 To reset, or unmount the JAM drive, you should specify
  4617.                 the JAM drive letter as an essential parameter.
  4618.  
  4619.  
  4620. JAM-driver already installed.
  4621.  
  4622. Origin          JAM.SYS
  4623.  
  4624. Explanation     Your CONFIG.SYS file has at least two lines that
  4625.                 initialize JAM.SYS device driver.
  4626.  
  4627.                 You may load the JAM driver only once. To support
  4628.                 more than one JAM drive use /M switch.
  4629.  
  4630.  
  4631. JCMD already installed.
  4632.  
  4633. Origin          JCMD
  4634.  
  4635. Explanation     You cannot install JCMD command interceptor twice.
  4636.                 To remove JCMD from memory type: JCMD /R.
  4637.  
  4638.  
  4639. JAM 1.20  User's Guide                                           Page 98
  4640. ------------------------------------------------------------------------
  4641.  
  4642. JCMD cannot be removed.
  4643.  
  4644. Origin          JCMD
  4645.  
  4646. Explanation     JCMD cannot be removed from memory due to another TSR
  4647.                 program, loaded after JCMD.
  4648.  
  4649.  
  4650. JCMD is not installed.
  4651.  
  4652. Origin          JCMD
  4653.  
  4654. Explanation     You cannot remove JCMD since it is not installed.
  4655.                 To install JCMD type: JCMD /I.
  4656.  
  4657.  
  4658. Jxxxxxx aborted
  4659.  
  4660. Origin          JCHKDSK, JCREATE, JMAX, JSIZE
  4661.  
  4662. Explanation     Control-C or Control-Break key was pressed.
  4663.  
  4664.  
  4665. Logical drive size too big (> XXX Mbytes)
  4666. Try to specify smaller physical size (/S), or expected compression ratio (/R)
  4667.  
  4668. Origin          JCREATE
  4669.  
  4670. Explanation     Specified combination of /C, /S and /R parameters
  4671.                 produces too big logical drive size.
  4672.  
  4673.                 Because number of clusters on standard DOS drives
  4674.                 cannot be greater than 65526 (hex FFF6), maximum
  4675.                 logical sizes of JAM drives with 4K and 8K clusters are
  4676.                 256M and 512M bytes respectively.
  4677.  
  4678.                 Try to specify larger cluster size (/C switch), or
  4679.                 smaller physical size (/S switch), or larger expected
  4680.                 compression ratio (smaller value for /R switch).
  4681.  
  4682.  
  4683. JAM 1.20  User's Guide                                           Page 99
  4684. ------------------------------------------------------------------------
  4685.  
  4686. MS-DOS Task Switcher has been detected.
  4687. Jxxxxxx cannot run in a multitasking environment.
  4688.  
  4689. Origin          JCHKDSK, JMAX, JSIZE, JSWAP
  4690.  
  4691. Explanation     MS-DOS Task Switcher has been detected.
  4692.  
  4693.                 Please exit your task switcher and run corresponding
  4694.                 JAM utility program (JCHKDSK, JMAX, JSIZE, or JSWAP)
  4695.                 from the DOS command line.
  4696.  
  4697.                 Warning: If you start JCHKDSK, JMAX, JSIZE, or JSWAP
  4698.                          from some non-standard multitasking programs,
  4699.                          you may lose data.
  4700.  
  4701.  
  4702. Maximum logical archive size too big (> xxxMbytes).
  4703.  
  4704. Origin          JCREATE
  4705.  
  4706. Explanation     Specified combination of /C, /X and /R parameters
  4707.                 produces too big maximum logical archive size.
  4708.  
  4709.                 Try to specify larger cluster size (/C switch), or
  4710.                 smaller extended file size (/X), or larger expected
  4711.                 compression ratio (in terms of space usage -- /R
  4712.                 switch).
  4713.  
  4714.  
  4715. Media Descriptor Byte is invalid.
  4716.  
  4717. Origin          JCHKDSK
  4718.  
  4719. Explanation     The Media Descriptor Byte, located in the FAT, contains
  4720.                 invalid information. The disk is either not a DOS disk
  4721.                 or the Media Descriptor Byte has become corrupt.
  4722.  
  4723.                 Use JCHKDSK with /F parameter to correct this value.
  4724.  
  4725.  
  4726. Name of the JAM Archive File expected.
  4727.  
  4728. Origin          JCREATE, JSIZE
  4729.  
  4730. Explanation     Name of the JAM archive file was omitted or spelled
  4731.                 incorrectly.
  4732.  
  4733.                 To create new JAM Archive (using JCREATE utility), or
  4734.                 to change the size of an existing JAM Archive (using
  4735.                 JSIZE utility), you should specify its file name as an
  4736.                 essential parameter.
  4737.  
  4738.  
  4739. JAM 1.20  User's Guide                                          Page 100
  4740. ------------------------------------------------------------------------
  4741.  
  4742. No available JAM drive(s).
  4743.  
  4744. Origin          JMOUNT
  4745.  
  4746. Explanation     All JAM drives are mounted.
  4747.  
  4748.                 Dismount one of them, or increase number of JAM drives
  4749.                 by specifying larger /M parameter for JAM.SYS driver in
  4750.                 your CONFIG.SYS file.
  4751.  
  4752.  
  4753. Not enough memory.
  4754.  
  4755. Origin          JDIR, JCHKDSK, JMAX, JSIZE
  4756.  
  4757. Explanation     Not enough memory to read and analyze disk structures.
  4758.  
  4759.                 JCHKDSK and JDIR read FAT, JDT (for JAM drives), and
  4760.                 all (or selected by path/file specificetion) sub-
  4761.                 directories on disk. For example, on a PC with 640K of
  4762.                 free DOS memory JDIR can analyze disk with up to 4K
  4763.                 subdirectories, containing up to 16K matching files.
  4764.  
  4765.                 JMAX and JSIZE keep in memory only FAT, JDT, and some
  4766.                 additional tables. For example, to analyze the maximum
  4767.                 possible JAM archive (512M bytes of logical space)
  4768.                 JMAX (or JSIZE) will need approximately 384K bytes of
  4769.                 conventional memory.
  4770.  
  4771.                 Try making more memory available to your JAM utility.
  4772.                 If this does not solve the problem then reduce the
  4773.                 scope of your command and try again.
  4774.  
  4775.  
  4776. Novell DOS 7 Task Manager has been detected.
  4777. Jxxxxxx cannot run in a multitasking environment.
  4778.  
  4779. Origin          JCHKDSK, JMAX, JSIZE, JSWAP
  4780.  
  4781. Explanation     Novell DOS 7 Task Manager has been detected.
  4782.  
  4783.                 Please exit your task switcher and run corresponding
  4784.                 JAM utility program (JCHKDSK, JMAX, JSIZE, or JSWAP)
  4785.                 from the DOS command line.
  4786.  
  4787.                 Warning: If you start JCHKDSK, JMAX, JSIZE, or JSWAP
  4788.                          from some non-standard multitasking programs,
  4789.                          you may lose data.
  4790.  
  4791.  
  4792. JAM 1.20  User's Guide                                          Page 101
  4793. ------------------------------------------------------------------------
  4794.  
  4795. Overlapped clusters #xxx and #yyy
  4796.  
  4797. Origin          JMAX, JSIZE
  4798.  
  4799. Explanation     JMAX (or JSIZE) has detected physically cross-linked
  4800.                 clusters on JAM archive.
  4801.  
  4802.                 Run JCHKDSK /F /T to check integrity of compressed data 
  4803.                 on disk and repair this problem.
  4804.  
  4805.  
  4806. Path x:\yyyyyyyyyy not found.
  4807.  
  4808. Origin          JDIR
  4809.  
  4810. Explanation     Specified directory does not exist.
  4811.  
  4812.                 To show list of all subdirectories on disk you could
  4813.                 type:
  4814.                         JDIR /A+D /B /S x:\
  4815.  
  4816.                 where x: means your drive letter.
  4817.  
  4818.  
  4819. Probable non-DOS disk.
  4820.  
  4821. Origin          JCHKDSK
  4822.  
  4823. Explanation     The JCHKDSK utility cannot analyze non-DOS drives
  4824.                 (which have non-DOS file organization).
  4825.  
  4826.  
  4827. Specified file(s) not found.
  4828. Specified path not found.
  4829.  
  4830. Origin          JCHKDSK
  4831.  
  4832. Explanation     Specified location or name(s) of file(s) for JCHKDSK
  4833.                 fragmentation analysis was spelled incorrectly.
  4834.  
  4835.  
  4836. JAM 1.20  User's Guide                                          Page 102
  4837. ------------------------------------------------------------------------
  4838.  
  4839. Stacker x.yy has been detected.
  4840.  
  4841. Origin          JAM.SYS
  4842.  
  4843. Explanation     JAM device driver has detected Stacker data comression
  4844.                 utility.
  4845.  
  4846.                 Load the JAM driver before Stacker in your CONFIG.SYS
  4847.                 file.
  4848.  
  4849.  
  4850. Sub-directory 'xxxxxxxxxxx' has a bad size
  4851.  
  4852. Origin          JCHKDSK
  4853.  
  4854. Explanation     The sub-directory has invalid length.
  4855.  
  4856.                 JCHKDSK /F is able to correct this value.
  4857.  
  4858.  
  4859. Sub-directory 'xxxxxxxxxxxx' cannot be expanded
  4860.  
  4861. Origin          JCHKDSK
  4862.  
  4863. Explanation     Compressed subdirectory integrity error.
  4864.  
  4865.                 In this case directory tree past this point will not be
  4866.                 processed, and therefore, all files which were stored
  4867.                 in it will be recognized as LOST chains.
  4868.  
  4869.                 See also JCHKDSK error 'xxxxxx lost allocation unit(s)
  4870.                 found in yyy chain(s)' for comments.
  4871.  
  4872.  
  4873. Sub-directory 'xxxxxxxxxxxx' has been compressed
  4874.  
  4875. Origin          JCHKDSK
  4876.  
  4877. Explanation     In normal conditions, the JAM driver does not compress
  4878.                 subdirectories. Moreover, if such subdirectory exists
  4879.                 and you want to create or delete any file in it, the
  4880.                 JAM driver will always try to expand and reallocate it
  4881.                 before modifying its data.
  4882.  
  4883.                 To force the JAM driver expand compressed subdirectory,
  4884.                 you should free at least 16K bytes of physical space on
  4885.                 the JAM drive, then change to this subdirectory and
  4886.                 issue these DOS commands:
  4887.  
  4888.                        MKDIR XYZ
  4889.                        RMDIR XYZ
  4890.  
  4891.                 (use any other name if directory named XYZ exists).
  4892.  
  4893.  
  4894. JAM 1.20  User's Guide                                          Page 103
  4895. ------------------------------------------------------------------------
  4896.  
  4897. Sub-directory 'xxxxxxxxxxxx' has not been allocated
  4898.  
  4899. Origin          JCHKDSK
  4900.  
  4901. Explanation     Cluster which is actually a sub-directory, has a
  4902.                 [Allocated] flag set to OFF in JAM Descriptor Table
  4903.                 (see Appendix C for details).
  4904.  
  4905.                 Such situation can occur if you will try to
  4906.                 create a subdirectory on a almost full JAM drive.
  4907.  
  4908.                 Use DOS RD command or JCHKDSK /F to remove this
  4909.                 subdirectory.  If you want to create a correct
  4910.                 subdirectory, you should be sure that there is at least
  4911.                 8K bytes of physical free space.
  4912.  
  4913.  
  4914. The FAT copies mismatch.
  4915.  
  4916. Origin          JCHKDSK
  4917.  
  4918. Explanation     Each copy of the File Allocation Table (FAT) should be
  4919.                 exactly the same. If an error occurs while DOS is
  4920.                 updating the FATs, they may get out of synchronization
  4921.                 with each other, resulting in data loss.
  4922.  
  4923.                 To check (and correct) this situation you could run 
  4924.                 JCHKDSK with /C (and /F) switch.
  4925.  
  4926.  
  4927. There are only xxxxxxx bytes free on drive z:
  4928.  
  4929. Origin          JCREATE
  4930.  
  4931. Explanation     Specified file size (/S parameter) is larger than
  4932.                 amount of free space on drive you want to use to create
  4933.                 Archive File.
  4934.  
  4935.  
  4936. There are open files on drive x:
  4937.  
  4938. Origin          JMOUNT, JCHKDSK, JSIZE, JSWAP
  4939.  
  4940. Explanation     JAM utility has detected open files on drive x:.
  4941.  
  4942.                 Close all files on drive x: before running your JAM
  4943.                 utility program.
  4944.  
  4945.  
  4946. JAM 1.20  User's Guide                                          Page 104
  4947. ------------------------------------------------------------------------
  4948.  
  4949. There is no available entries in root directory.
  4950. Overwrite deleted entries [Y/N] ?
  4951.  
  4952. Origin          JCHKDSK
  4953.  
  4954. Explanation     JCHKDSK cannot add new entry (to save lost chains) to
  4955.                 the root directory.
  4956.  
  4957.                 Answer Yes to overwrite deleted entries, or No -- to
  4958.                 stop lost chain recovering process. In the last case
  4959.                 you should move some files from root directory and
  4960.                 repeat JCHKDSK.
  4961.  
  4962.  
  4963. Too many matching files.
  4964.  
  4965. Origin          JDIR
  4966.  
  4967. Explanation     Not enough memory to read and sort information about
  4968.                 files on disk.
  4969.  
  4970.                 JDIR reads FAT, JDT (for JAM drives), and all selected
  4971.                 by path/file specificetion subdirectories on disk.
  4972.                 For example, on a PC with 640K of free DOS memory JDIR
  4973.                 can analyze disk with up to 4K subdirectories,
  4974.                 containing up to 16K matching files.
  4975.  
  4976.                 Try making more memory available to JDIR utility.
  4977.                 If this does not solve the problem then reduce the
  4978.                 scope of your command and try again.
  4979.  
  4980.  
  4981. Windows 3.0 in Real or Standard mode has been detected.
  4982. Jxxxxxx cannot run in a multitasking environment.
  4983. Windows 3.xx in Enchanced Mode has been detected.
  4984. Jxxxxxx cannot run in a multitasking environment.
  4985.  
  4986. Origin          JCHKDSK, JMAX, JSIZE, JSWAP
  4987.  
  4988. Explanation     Microsoft Windows has been detected.
  4989.  
  4990.                 Please exit Windows and run corresponding JAM utility
  4991.                 program (JCHKDSK, JMAX, JSIZE, or JSWAP) from the DOS
  4992.                 command line.
  4993.  
  4994.                 Warning: If you start JCHKDSK, JMAX, JSIZE, or JSWAP
  4995.                          from some non-standard multitasking programs,
  4996.                          you may lose data.
  4997.  
  4998.  
  4999.  
  5000. JAM 1.20  User's Guide                                          Page 105
  5001. ------------------------------------------------------------------------
  5002.  
  5003. xxxxxx lost allocation unit(s) found in yyy chain(s).
  5004. Convert lost chains to files?
  5005.  
  5006. Origin          JCHKDSK
  5007.  
  5008. Explanation     JCHKDSK found 'yyy' FAT chains which have not been
  5009.                 assigned to directory entries, and therefore are
  5010.                 inaccessible.
  5011.  
  5012.                 If you answer Y, CHKDSK collects the lost clusters into
  5013.                 files with the name LOSTnnnn.CHK (where nnnn is a
  5014.                 number between 0000 and 9999) in the root directory.
  5015.                 As long as these files are not in binary format you may
  5016.                 be able to look at them using the EDIT or the TYPE
  5017.                 command, recover any valuable data they contain, and
  5018.                 then delete them.
  5019.  
  5020.                 If you answer N, CHKDSK frees the lost clusters so that
  5021.                 they can be used when new files are created.
  5022.  
  5023.  
  5024.  
  5025. JAM 1.20  User's Guide                                          Page 106
  5026. ------------------------------------------------------------------------
  5027.  
  5028.                 Appendix  C.  JAM technical information
  5029.              =============================================
  5030.  
  5031.                        C.1. JAM drive structure
  5032.  
  5033. On logical level the JAM devices have absolutely the same structure
  5034. as standard DOS disks. At the very beginning (sector # 0) they contain
  5035. standard Boot Record; next sectors represents one or two copies of DOS
  5036. File Allocation Table (FAT); then there are 4, 8, or 16 sectors of Root
  5037. Directory, and finally -- clusters of files and subdirectories on
  5038. logical disk.
  5039.  
  5040.   N  Disk area                 Size (in sectors)
  5041.  --- --------------------    ----------------------------
  5042.   1. Boot Sector(s)            ReservedSectors
  5043.  
  5044.   2. FAT#1 ... FAT#N           FatSize * FatCount
  5045.  
  5046.   3. Root Directory            (RootEntries * 32) /SectorSize
  5047.  
  5048.   4. Data Clusters.            MaxCluster * ClusterSize
  5049.  
  5050. But, such a standard disk layout is just a result of following DOS disk
  5051. structure conventions. Our main concern is about how the compressed
  5052. data is actually stored on disk.
  5053.  
  5054. The disk space is allocated by DOS in a units of clusters. To ensure
  5055. maximum speed and reliability, JAM driver compresses each cluster
  5056. independently. The size of compressed cluster can be different,
  5057. depending on the compression ratio and the amount of data actually
  5058. contained in the cluster (remember that file with size of 1 byte
  5059. occupies 1 cluster in DOS!).
  5060.  
  5061. To achieve actual space savings, JAM stores each compressed cluster in
  5062. a number of (continuous) physical disk sectors. So, to read a portion
  5063. of a file by its cluster number (given by DOS), JAM driver should find
  5064. where on the disk the compressed cluster is located, and what is its
  5065. size. To store such information, JAM needs a separate table for it.
  5066. This table is called the JAM Descriptor Table (JDT).  For each cluster
  5067. (either allocated or free), this table contains the cluster's compressed
  5068. size (in sectors), starting location (as a sector number), compression
  5069. method used, and some status flags.  This table is stored just before
  5070. first FAT, inside boot sectors.  (Normal DOS disks contain only 1
  5071. sector in Boot Sectors area. Therefore, this sector is often called
  5072. just a Boot Sector. The JAM uses this area to store a Boot Sector,
  5073. followed by JDT entries.)
  5074.  
  5075. JAM 1.20  User's Guide                                          Page 107
  5076. ------------------------------------------------------------------------
  5077.  
  5078. JAM Archive File structure:
  5079.  
  5080.   N  Area                      Size (in sectors)
  5081.  --- --------------------    ----------------------------
  5082.   1. Boot Sector               1
  5083.                              +
  5084.   2. JAM Descriptor Table      (MaxCluster * 4) /SectorSize
  5085.                              ------------------------------
  5086.                                ReservedSectors
  5087.  
  5088.   3. FAT#1 ... FAT#N           FatSize * FatCount
  5089.  
  5090.   4. Root Directory            (RootEntries * 32) /SectorSize
  5091.  
  5092.   5. Compressed Data Area.     MaxCluster * ClusterSize /ExpectedCompRatio
  5093.                                = CompDataSectors
  5094.  
  5095. The format of the JAM Drive Boot Sector (which is an extension over
  5096. standard DOS 4.0+ Boot Sector format) and JAM Descriptor Table is given
  5097. below.
  5098.  
  5099. Format of the JAM boot sector
  5100. Offset  Size    Description
  5101.  00h  3 BYTEs   near jump to start of boot code
  5102.  03h  8 BYTEs  *OEM company name and version ('JAM x.yy', x.yy - version)
  5103.  0Bh 25 BYTEs   extended BIOS parameter block (BPB)
  5104.  24h    BYTE    physical driver number (0 = floppy, 80 = hard disk)
  5105.  25h    BYTE    reserved
  5106.  26h    BYTE    extended boot record signature
  5107.  27h    DWORD   volume serial number
  5108.  2Bh 11 BYTEs   volume label
  5109.  36h  8 BYTEs   file system ID
  5110.  3Eh    DWORD  *compressed data area size (in sectors)
  5111.  42h  2 BYTEs  *reserved
  5112.  44h    DWORD  *maximum total number of sectors on drive \ before archive
  5113.  48h    DWORD  *maximum compressed data area size        / was shrunk
  5114.  4Ch 64 BYTEs  *encrypted password
  5115.  8Ch 370 BYTEs  boot code
  5116. 1FEh    WORD    end of boot sector signature (55AAh)
  5117.  
  5118. JAM 1.20  User's Guide                                          Page 108
  5119. ------------------------------------------------------------------------
  5120.  
  5121. Format of the JAM cluster descriptors
  5122. (4-bytes cells of the JAM Descriptor Table)
  5123. Offset  Size    Description
  5124.  00h    BYTE    cluster size (in sectors)
  5125.                     bits 0..3: cluster size - 1
  5126.                 flags (cluster type)
  5127.                     bit 4: reserved (always sets to 0)
  5128.                     bit 5: Directory
  5129.                     bit 6: Deleted
  5130.                     bit 7: Allocated
  5131.  01h    BYTE    starting sector number (high 4 bits)
  5132.                     bits 0..3: (starting sector >> 16) & 0Fh
  5133.                 compression level
  5134.                     bits 4..6:
  5135.                         0 - real-time compression
  5136.                             (built-in driver algorithm)
  5137.                         1 - normal compression
  5138.                         2 - maximum compression
  5139.                             (built-in JMAX algorithms)
  5140.                         3..7 - reserved
  5141.                 compression flag
  5142.                     bit 7: (0 - cluster stored/1 - compressed)
  5143.  02h    WORD    starting sector number (low word)
  5144.  
  5145. It should be noted that besides of cluster allocation information
  5146. (cluster size and starting sector number), descriptor also has several
  5147. flags which are used by the JAM driver to determine the type
  5148. and current status of the cluster.
  5149.  
  5150. When flag [Allocated] is set to 0, the cluster is considered EMPTY
  5151. (i.e. containing zeros), and the other parameters in descriptor are
  5152. ignored.
  5153.  
  5154. All clusters which have been written to the JAM drive (and therefore
  5155. use some physical space in JAM archive), must have [Allocated] flag set.
  5156.  
  5157. The flag [Deleted] is used to indicate that cluster was deleted.  When
  5158. DOS removes cluster (i.e. sets corresponding entry in FAT to 0), the
  5159. JAM driver sets [Deleted] flag to 1. Then if you run some UnDelete
  5160. utility (e.g. Central Point Software's Undelete, or Norton Utilities'
  5161. Unerase), JAM.SYS analyzes the integrity of data in this cluster, and
  5162. if they have not been overwritten, JAM driver sets the [Deleted] back
  5163. to 0, thus, making it possible to undelete files on JAM drives.
  5164.  
  5165.  
  5166. JAM 1.20  User's Guide                                          Page 109
  5167. ------------------------------------------------------------------------
  5168.  
  5169. The [Directory] flag means that cluster contains subdirectory
  5170. information. To make access to subdirectories more reliable and fast,
  5171. the JAM driver does not compress such clusters. Moreover, if (under no
  5172. normal reasons) compressed subdirectory exists, JAM.SYS will always
  5173. expand it automatically.
  5174.  
  5175. Finally, JAM descriptor contains information on the compression method
  5176. used to pack the cluster. Actually, the JAM system incorporates several
  5177. compression algorithms, which differ by compression ratio/speed
  5178. tradeoff. The JAM driver includes the fastest (real-time) algorithm,
  5179. which internal number is 0. Two other methods (slower, but better on
  5180. compression ratio) are built in JMAX utility (its numbers are
  5181. 1 and 2 respectively). The numbers 3..7 are reserved for future
  5182. algorithms.
  5183.  
  5184.  
  5185. JAM 1.20  User's Guide                                          Page 110
  5186. ------------------------------------------------------------------------
  5187.  
  5188.                         C.2. JAM device driver
  5189.  
  5190. In order to better understand how the JAM works, let us review how DOS
  5191. operates with your application software to read and write data on your
  5192. hard disk.
  5193.  
  5194. General Data Flow Control under DOS can best be illustrated as:
  5195.  
  5196.                     ,----------------------------.
  5197.                     |    Application Programs    |
  5198.                     `-------------/\-------------'
  5199. (1)                               ::
  5200.               ,-------------------\/-------------------.
  5201.               |               DOS Kernel               |
  5202.               `-------------------/\-------------------'
  5203. (2)                               ::
  5204.           ,-----------------------\/-----------------------.
  5205.           |               Disk Device Driver               |
  5206.           `-----------------------/\-----------------------'
  5207. (3)                               ::
  5208.                     ,-------------\/-------------.
  5209.                     |     Disk BIOS (Int 13h)    |
  5210.                     `-------------/\-------------'
  5211. (4)                               ::
  5212.                           ,-------\/-------.
  5213.                           |    Hard Disk   |
  5214.                           `----------------'
  5215.  
  5216. where:  Application  - is your software program;
  5217.  
  5218.         DOS Kernel - is a main part of the Disk Operating System;
  5219.  
  5220.         Disk Device Driver - is the system control program assigned by
  5221.                              DOS to interface to your hard disk device.
  5222.  
  5223. The reading of data from your hard disk consist of four steps:
  5224.  
  5225.     1.  Application <--> DOS Kernel
  5226.         Read data from hard disk C:
  5227.  
  5228.     2.  DOS Kernel <--> Device Driver for drive C:
  5229.         Read nn sectors starting at sector xxxx from logical drive #2
  5230.  
  5231.     3.  C:'s Device Driver <--> Disk BIOS
  5232.         Read nn sectors starting at <head hhh, track ttt, sector sss>
  5233.         from a hard disk
  5234.  
  5235.     4.  Disk BIOS <--> Hard disk
  5236.         Perform series of hardware-depended operations to read
  5237.         information recorded on a hard disk.
  5238.  
  5239.  
  5240. JAM 1.20  User's Guide                                          Page 111
  5241. ------------------------------------------------------------------------
  5242.  
  5243. The writing of data to your disk also consists of four steps:
  5244.  
  5245.     1.  Application <--> DOS Kernel
  5246.         Write data to hard disk C:
  5247.  
  5248.     2.  DOS Kernel <--> Device Driver for drive C:
  5249.         Write nn sectors starting at sector xxxx to logical drive #2
  5250.  
  5251.     3.  C:'s Device Driver <--> Disk BIOS
  5252.         Write nn sectors starting at <head hhh, track ttt, sector sss>
  5253.         to a hard disk
  5254.  
  5255.     4.  Disk BIOS <--> Hard disk
  5256.         Perform series of hardware-depended operations to record
  5257.         information on a hard disk.
  5258.  
  5259. The JAM reorganizes requests to the Hard Disk Device Driver, and acts
  5260. as the Device Driver for the JAM logical drive. In addition, the JAM
  5261. compresses (during write) and decompresses (during read) the data
  5262. written to or read from the JAM drive.
  5263.  
  5264. Data Flow Control when using the JAM can be (with some simplifications)
  5265. illustrated as:
  5266.  
  5267.      ,------------------------------------------.  ,,===================..
  5268.      |        User's Application Programs       |  ||   JAM Utilities   ||
  5269.      `--/\-----------------/\---------------/\--'  ``=/\================''
  5270. (1)     ::          (7)    ::          (9)  ::   (11) ::
  5271.  ,,=====\/======..  ,,=====\/======..  ,,===\/========\/=..  ,,=============..
  5272.  || JAM Int 21h ||  || JAM Int 24h ||  ||   JAM Int 2Fh  ||  || JAM Int 2Ah ||
  5273.  ``===/\===/\===''  ``===/\===/\===''  ``===/\======/\===''  ``===/\===/\===''
  5274. (2)   ::   ||       (8)  ::   ||       (10) ::      ||       (12) ::   ||
  5275.  ,----\/-----------------\/-----------------\/--------------------\/---------.
  5276.  |                                 DOS Kernel                                |
  5277.  `-------------------------------------/\------------------------------------'
  5278. (3)        ||                 ||       ::           ||                 ||
  5279.   ,,=======\/=================\/=======\/===========\/=================\/==..
  5280.   ||                               JAM Driver                              ||
  5281.   ``===================================/\==================================''
  5282. (4)                                    ::
  5283.               ,------------------------\/-----------------------.
  5284.               |                 Host Disk Driver                |
  5285.               `------------------------/\-----------------------'
  5286. (5)                                    ::
  5287.                          ,-------------\/-------------.
  5288.                          |        BIOS (Int 13h)      |
  5289.                          `-------------/\-------------'
  5290. (6)                                    ::
  5291.                                ,-------\/-------.
  5292.                                |    Hard Disk   |
  5293.                                `----------------'
  5294.  
  5295. JAM 1.20  User's Guide                                          Page 112
  5296. ------------------------------------------------------------------------
  5297.  
  5298. where: JAM Int 21h/24h/2Ah/2Fh  - are the JAM.SYS interrupt handlers
  5299.  
  5300.        JAM Driver - is a main part of the JAM.SYS program, which
  5301.                     simulates JAM Logical Drives
  5302.  
  5303.        JAM Utilities  - the others programs used the JAM API interface
  5304.                         (see the next section for details)
  5305.  
  5306. The reading of data from your JAM drive consist of six steps:
  5307.  
  5308.     1.  Application <--> JAM Int 21h
  5309.         Read data from the JAM drive J:.
  5310.         JAM Int 21h tracer simply passes request to the DOS kernel (and
  5311.         forwards the DOS error code back to Application).
  5312.  
  5313.     2.  JAM Int 21h <--> DOS Kernel
  5314.         Read data from the JAM drive J:.
  5315.  
  5316.     3.  DOS Kernel <--> J:'s JAM Driver
  5317.         Read nn sectors starting at sector xxxx from JAM logical drive.
  5318.  
  5319.         JAM driver analyses JDT to find location of the compressed data
  5320.         on JAM archive, calls the Host Disk driver to read them,
  5321.         decompresses them and passes back to DOS Kernel for application
  5322.         program.
  5323.  
  5324.     4.  J:'s JAM Driver <--> Host Disk (C:)'s Device Driver
  5325.         Read nn sectors starting at sector xxxx from hard disk logical
  5326.         drive #2
  5327.  
  5328.     5.  Host Disk (C:)'s Device Driver <--> Disk BIOS
  5329.         Read nn sectors starting at <head hhh, track ttt, sector sss>
  5330.         from a hard disk
  5331.  
  5332.     6.  Disk BIOS <--> Hard disk
  5333.         Perform series of hardware-depended operations to read
  5334.         information recorded on a hard disk.
  5335.  
  5336. The writing of data to your JAM drive also consists of six (main) steps:
  5337.  
  5338.     1.  Application <--> JAM Int 21h
  5339.         Write data to the JAM drive J:.
  5340.  
  5341.         JAM Int 21h tracer passes request to the DOS kernel. When DOS
  5342.         finishes this operation, JAM Int 21h tracer analyzes state of
  5343.         the JAM drive, and if it is needed (for example, when archive
  5344.         file is almost full) -- calls DOS and JAM driver again to flush
  5345.         its buffers (to perform file system synchronization).  Finally,
  5346.         JAM Int 21h tracer forwards the DOS error code back to
  5347.         Application.
  5348.  
  5349.     2.  JAM Int 21h <--> DOS Kernel
  5350.         Write data on the JAM drive J:.
  5351.  
  5352. JAM 1.20  User's Guide                                          Page 113
  5353. ------------------------------------------------------------------------
  5354.  
  5355.     3.  DOS Kernel <--> J:'s JAM Driver
  5356.         Write nn sectors starting at sector xxxx on JAM logical drive.
  5357.  
  5358.         JAM driver splits requested sectors area [xxxx..xxxx+nn] on
  5359.         series of logical clusters [yy..yy+m] which cover this region.
  5360.         For each cluster, JAM.SYS gets corresponding JDT entry to
  5361.         determine if the cluster was already written (allocated) on
  5362.         disk, and its allocation parameters. In case if cluster was
  5363.         already allocated and JAM.SYS should modify only part of it,
  5364.         the clusters data will be read, then expanded (if it was stored
  5365.         in a compressed form), updated, compressed again, and finally
  5366.         -- physically written on archive. If the cluster is empty, or
  5367.         JAM.SYS should modify all its sectors, the cluster's data will
  5368.         be simply compressed and written on archive.  To write data on
  5369.         archive (or to read them from), the JAM driver calls the Host
  5370.         Disk driver.
  5371.  
  5372.     4.  J:'s JAM Driver <--> Host Disk (C:)'s Device Driver
  5373.         Write nn sectors starting at sector xxxx to hard disk logical
  5374.         drive #2
  5375.  
  5376.     5.  C:'s Device Driver <--> Disk BIOS
  5377.         Write nn sectors starting at <head hhh, track ttt, sector sss>
  5378.         to a hard disk
  5379.  
  5380.     6.  Disk BIOS <--> Hard disk
  5381.         Perform series of hardware-depended operations to record
  5382.         information on a hard disk.
  5383.  
  5384. Some additional steps will be taken when current write request cannot
  5385. be successfully performed. For example, JAM Int 24h tracer may be
  5386. activated (steps 7 and 8) to handle an Archive Overflow exception
  5387. accurately (there is no corresponding device error code in DOS, except
  5388. for MS-DOS 6.0+).
  5389.  
  5390. The JAM Int 2Ah/2Fh (and several others) tracers are used to solve some
  5391. compatibility problems (for example, to tell SMARTdrive cache utility
  5392. that JAM drives are non-cacheable), and to represent an interface to the
  5393. other JAM utility programs (see the next section for details).
  5394.  
  5395.  
  5396. JAM 1.20  User's Guide                                          Page 114
  5397. ------------------------------------------------------------------------
  5398.  
  5399.                     C.3. JAM Application Interface
  5400.  
  5401. The following functions can be used by application programs to work
  5402. with the JAM drives. Current version (1.20) of JAM.SYS supports 8
  5403. functions, accessed as INT 2Fh/AX=5200...5207h. Functions
  5404. AX=5208..521F are reserved for future versions of the JAM.
  5405.  
  5406. --------d-2F5200-----------------------------
  5407. INT 2F - JAM.SYS 1.20 - "GetVersion" - INSTALLATION CHECK
  5408.         AH = 52h
  5409.         AL = 00h
  5410. Return: AH = 80h (successful)
  5411.         BX = internal JAM.SYS version number
  5412.         CX = size of JAMINFO structure (see below)
  5413.         DX = JAM.SYS segment address
  5414. Program: JAM.SYS is a main component of the JAM Real-Time Data Compression
  5415.         Utilities by George A. Reznik and friends (JAM Software).
  5416. SeeAlso: AX=5201h
  5417.  
  5418. Format of JAMINFO structure:
  5419. Offset  Size    Description
  5420.  00h 25 BYTEs   extended BIOS parameter block (BPB) |\
  5421.  19h    BYTE    physical driver number              | \
  5422.  1Ah    BYTE    reserved                            |  \  copy from an
  5423.  1Bh    BYTE    extended boot record signature      |   > archive file's
  5424.  1Ch    DWORD   volume serial number                |  /  boot-sector
  5425.  20h 11 BYTEs   volume label                        | /
  5426.  2Bh  8 BYTEs   file system ID                      |/
  5427.  33h    DWORD   total number of sectors in JAM archive file
  5428.                 (size of compressed data area)
  5429.  37h    BYTE    flags
  5430.                 bit 7: full undelete-compatible allocation strategy
  5431.                 bit 6: no write-behind caching
  5432.                 bit 5: read-only mode
  5433.                 bit 4: enable direct write requests
  5434.                        (Int 26h, non-DOS requests, etc.)
  5435.                 bit 3: zero compression mode
  5436.                 bits 2..0 are reserved for internal use
  5437.  38h 128 BYTEs  full JAM archive file name
  5438.  B8h    WORD    the number of fragments in archive file
  5439.  BAh 96 BYTEs   archive file fragmentation list -
  5440.                 array of 16 FRAGMENT structures:
  5441.                 Offset  Size    Description
  5442.                  00h    WORD    starting sector (low word)
  5443.                  02h    BYTE    starting sector (high byte)
  5444.                  03h    WORD    size of fragment (low word)
  5445.                  05h    BYTE    size of fragment (high byte)
  5446. 11Ah    DWORD   address of the host-drive DPB (Drive Parameter Block)
  5447. 11Eh    DWORD   number of free sectors in JAM archive file
  5448. 122h    WORD    device status word (see below)
  5449.  
  5450.  
  5451. JAM 1.20  User's Guide                                          Page 115
  5452. ------------------------------------------------------------------------
  5453.  
  5454. Values for status (high byte, low is DOS error code for Host drive):
  5455.  00h  successful
  5456.  01h  drive is not a JAM drive
  5457.  02h  drive is already attached
  5458.  03h  archive file cluster size value is larger than driver's one
  5459.  04h  drive is not attached
  5460.  05h  drive is locked
  5461.  06h  drive is not locked
  5462.  07h  bad physical-level request
  5463.  08h  host drive reading/writing error
  5464.  09h  bad entries in JAM descriptor table
  5465.  0ah  compressed data integrity error
  5466.  0bh  archive file overflow
  5467.  0ch  bad DOS request
  5468.  0dh  incorrect parameters in JAMINFO structure
  5469.  
  5470. --------d-2F5201-----------------------------
  5471. INT 2F - JAM.SYS 1.20 - "GetInfo" - GET COMPRESSED DRIVE INFORMATION
  5472.         AH = 52h
  5473.         AL = 01h
  5474.         DL = compressed drive number (0-default, 1-A:, etc.)
  5475.         DS:BX -> buffer for JAMINFO structure (see above)
  5476. Return: AH = status (see also above)
  5477.             00h successful
  5478.             01h drive is not a JAM drive
  5479. SeeAlso: AX=5200h
  5480.  
  5481. --------d-2F5202-----------------------------
  5482. INT 2F - JAM.SYS 1.20 - "Attach" - MOUNT COMPRESSED DRIVE
  5483.         AH = 52h
  5484.         AL = 02h
  5485.         DL = drive number (0-default, 1-A:, etc.)
  5486.             to attach to the JAM archive file
  5487.         DS:BX -> pointer to JAMINFO structure (see above), which
  5488.             contains parameters of the JAM file to mount, and pointer
  5489.             to the host drive DPB (i.e. DPB of the drive on which the
  5490.             JAM file is located)
  5491. Return: AH = status (see also full list above)
  5492.             00h successful
  5493.             02h drive already attached
  5494.             03h archive file cluster size value is larger than driver's
  5495.                 one - not mounted
  5496.             08h host drive reading error (while building allocation
  5497.                 list)
  5498.             09h bad entries in JAM descriptor table - file mounted
  5499.                 read-only
  5500.             0dh incorrect parameters in JAMINFO structure
  5501.         AL = host drive error code (see DOS device error codes)
  5502. SeeAlso: AX=5203h
  5503.  
  5504. JAM 1.20  User's Guide                                          Page 116
  5505. ------------------------------------------------------------------------
  5506.  
  5507. --------d-2F5203-----------------------------
  5508. INT 2F - JAM.SYS 1.20 - "Detach" - UNMOUNT COMPRESSED DRIVE
  5509.         AH = 52h
  5510.         AL = 03h
  5511.         DL = drive number (0-default, 1-A:, etc.) to detach
  5512. Return: AH = status (see also full list above)
  5513.             00h successful
  5514.             01h drive is not a JAM drive
  5515.             04h drive already detached
  5516.             05h drive locked
  5517.             08h host drive reading/writing error (while flushing
  5518.             buffers)
  5519.             09h bad entries in JAM descriptor table
  5520.             0bh archive file overflow
  5521.             0dh incorrect parameters in drive's JAMINFO structure
  5522.         AL = host drive error code (see DOS device error codes)
  5523. SeeAlso: AX=5202h
  5524.  
  5525. --------d-2F5204-----------------------------
  5526. INT 2F - JAM.SYS 1.20 - "Lock" - LOCK COMPRESSED DRIVE
  5527.         AH = 52h
  5528.         AL = 04h
  5529.         DL = drive number (0-default, 1-A:, etc.) to lock
  5530. Return: AH = status (see also full list above)
  5531.             00h successful
  5532.             01h drive is not a JAM drive
  5533.             04h drive is not attached
  5534.             05h drive already locked
  5535.             08h host drive reading/writing error (while flushing
  5536.             buffers)
  5537.             09h bad entries in JAM descriptor table
  5538.             0bh archive file overflow
  5539.             0dh incorrect parameters in drive's JAMINFO structure
  5540.         AL = host drive error code (see DOS device error codes)
  5541. SeeAlso: AX=5205h, AX=5206h, AX=5207h
  5542.  
  5543. --------d-2F5205-----------------------------
  5544. INT 2F - JAM.SYS 1.20 - "UnLock" - UNLOCK COMPRESSED DRIVE
  5545.         AH = 52h
  5546.         AL = 05h
  5547.         DL = drive number (0-default, 1-A:, etc.) to unlock
  5548. Return: AH = status (see also full list above)
  5549.             00h successful
  5550.             01h drive is not a JAM drive
  5551.             04h drive is not attached
  5552.             06h drive is not locked
  5553.             08h host drive reading error (while rebuilding allocation
  5554.             list)
  5555.             09h bad entries in JAM descriptor table
  5556.             0dh incorrect parameters in drive's JAMINFO structure
  5557.         AL = host drive error code (see DOS device error codes)
  5558. SeeAlso: AX=5204h, AX=5206h, AX=5207h
  5559.  
  5560. JAM 1.20  User's Guide                                          Page 117
  5561. ------------------------------------------------------------------------
  5562.  
  5563. Note:   Lock and UnLock functions were added to the JAM API to prevent
  5564.         asynchronous physical-level access (see AL=06/07) to compressed
  5565.         data on JAM drives. In other words, two or more programs which
  5566.         use JAM API (say, JMAX optimizer and JCHKDSK - disk checker)
  5567.         cannot be run on the same JAM drive simultaneously.
  5568.  
  5569. --------d-2F5206-----------------------------
  5570. INT 2F - JAM.SYS 1.20 - "Read" - PHYSICAL READ DATA FROM JAM ARCHIVE
  5571.         AH = 52h
  5572.         AL = 06h
  5573.         DL = drive number (0-default, 1-A:, etc.)
  5574.         DS:BX -> disk transfer packet (see below)
  5575. Return: AH = status (see also full list above)
  5576.             00h successful
  5577.             01h drive is not a JAM drive
  5578.             04h drive is not attached
  5579.             06h drive is not locked
  5580.             07h bad request (parameters in transfer packet)
  5581.             08h host drive reading error
  5582.             0dh incorrect parameters in drive's JAMINFO structure
  5583.         AL = host drive error code (see DOS device error codes)
  5584. SeeAlso: AX=5207h
  5585.  
  5586. Format of disk transfer packet:
  5587. Offset  Size    Description
  5588.  00h    DWORD   sector number
  5589.  04h    WORD    number of sectors to read(write)
  5590.  06h    DWORD   transfer address
  5591.  
  5592. --------d-2F5207-----------------------------
  5593. INT 2F - JAM.SYS 1.20 - "Write" - PHYSICAL WRITE DATA TO JAM ARCHIVE
  5594.         AH = 52h
  5595.         AL = 07h
  5596.         DL = drive number (0-default, 1-A:, etc.)
  5597.         DS:BX -> disk transfer packet (see above)
  5598. Return: AH = status (see also above)
  5599.             00h successful
  5600.             01h drive is not a JAM drive
  5601.             04h drive is not attached
  5602.             06h drive is not locked
  5603.             07h bad request (parameters in transfer packet)
  5604.             08h host drive writing error
  5605.             0dh incorrect parameters in drive's JAMINFO structure
  5606.         AL = host drive error code (see DOS device error codes)
  5607. SeeAlso: AX=5206h
  5608. ---------------------------------------------
  5609.  
  5610.  
  5611. JAM 1.20  User's Guide                                          Page 118
  5612. ------------------------------------------------------------------------
  5613.  
  5614.                                I n d e x
  5615.                              =============
  5616.  
  5617. +---+
  5618. | A |
  5619. +---+
  5620.  
  5621. AUTOEXEC.BAT  . . . . . . . . . . . . . . . . . . . . . . 13, 31, 42, 43
  5622. Access-time Insensitive Data  . . . . . . . . . . . . . . . . . . . . 58
  5623.     Sensitive Data  . . . . . . . . . . . . . . . . . . . . . . . . . 58
  5624. Actual Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5625. Allocation Buffers  . . . . . . . . . . . . . . . . . . . . . . . 30, 31
  5626.     Errors  . . . . . . . . . .  48, 81, 82, 84, 85, 86, 87, 89, 96, 103
  5627.     Strategies  . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
  5628. Anticipated Compression Ratio . . . . . . . . . . . . . . . . . . . . 27
  5629. Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5630.     File  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10, 14
  5631. Average Compression Ratio . . . . . . . . . . . . . . . . . . . . 19, 47
  5632.  
  5633. +---+
  5634. | B |
  5635. +---+
  5636.  
  5637. Bad Sectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
  5638. Basic Concepts of the JAM . . . . . . . . . . . . . . . . . . . . . . 10
  5639. Boot Record . . . . . . . . . . . . . . . . . . . . . . . .  65, 94, 108
  5640.     Sector  . . . . . . . . . . . . . . . . . . . . . . . . . .  65, 108
  5641. Buffers for Allocation information  . . . . . . . . . . . . . . . 30, 31
  5642.     Compressed Clusters . . . . . . . . . . . . . . . . . . . . . 30, 31
  5643.  
  5644. +---+
  5645. | C |
  5646. +---+
  5647.  
  5648. CONFIG.SYS  . . . . . . . . . . . . . . . . . . . . . 15, 29, 30, 31, 33
  5649. CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
  5650.     80188/186+  . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
  5651.     I80386/I80486/Pentium . . . . . . . . . . . . . . . . . . . . . . 71
  5652.     NEC V20/V30 . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
  5653. Cache Built-in JAM driver . . . . . . . . . . . . . . . . . . . . . . 31
  5654. Capacity Logical  . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5655.     Physical  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5656.     Projected . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5657. Cluster . . . . . . . . . . . . . . . . . . . . . . . . . 18, 27, 28, 65
  5658.     Size  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28, 30
  5659. Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . .  107
  5660.     Method  . . . . . . . . . . . . . . . . . . . . . . . . . .  50, 110
  5661.     Ratio . . . . . . . . . . 9, 17, 18, 19, 38, 41, 47, 50, 58, 59, 110
  5662.         Anticipated . . . . . . . . . . . . . . . . . . . . . . . . . 27
  5663.         Average . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
  5664.         Potential . . . . . . . . . . . . . . . . . . . . . . . . 58, 59
  5665. Control Direct Write requests . . . . . . . . . . . . . . . . . . . . 36
  5666. Cross-linked Clusters . . . . . . . . . . . . . . . . . . . . . . . . 81
  5667.     Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  106
  5668.  
  5669.  
  5670. JAM 1.20  User's Guide                                          Page 119
  5671. ------------------------------------------------------------------------
  5672.  
  5673. +---+
  5674. | D |
  5675. +---+
  5676.  
  5677. DIRCMD variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
  5678. DOS APPEND command  . . . . . . . . . . . . . . . . . . . . . . . . . 60
  5679.     ASSIGN command  . . . . . . . . . . . . . . . . . . . . . . . . . 48
  5680.     ATTRIB command  . . . . . . . . . . . . . . . . . . . . . . . . . 28
  5681.     BACKUP command  . . . . . . . . . . . . . . . . . . . . . . . . . 21
  5682.     COPY command  . . . . . . . . . . . . . . . . . . . . . . . . . . 16
  5683.     DEL command . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
  5684.     DEVICE command  . . . . . . . . . . . . . . . . . . . . . . . . . 30
  5685.     DEVICEHIGH command  . . . . . . . . . . . . . . . . . . . . . . . 30
  5686.     DIR command . . . . . . . . . . . . . . . . . . . . . . . . . 16, 38
  5687.     EDIT command  . . . . . . . . . . . . . . . . . . . . . . . . . . 13
  5688.     File Allocation Table . . . . . . . . . . . . . . . . . . . . . . 66
  5689.     Kernel  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  111
  5690.     PATH command  . . . . . . . . . . . . . . . . . . . . . . . . . . 14
  5691.     SUBST command . . . . . . . . . . . . . . . . . . . . . . . . . . 48
  5692.     Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
  5693.     Wildcards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
  5694. Data Buffers  . . . . . . . . . . . . . . . . . . . . . . . . . . 30, 31
  5695. Defragmentation Utilities . . . . . . . . . . . . . . . . . . . . 20, 28
  5696. DirectWrite flag  . . . . . . . . . . . . . . . . . . . . . . . . 23, 36
  5697. Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
  5698. Disk Cache  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  5699.     Built-in JAM driver . . . . . . . . . . . . . . . . . . . . . . . 32
  5700.     External  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  5701. Drive Logical . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5702.     Physical  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5703.  
  5704. +---+
  5705. | E |
  5706. +---+
  5707.  
  5708. External disk cache utilities . . . . . . . . . . . . . . . . . . . . 32
  5709.  
  5710. +---+
  5711. | F |
  5712. +---+
  5713.  
  5714. FAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  66, 104
  5715.     Chain . . . . . . . . . . . . . . . . . . . . . . . . . . .  66, 104
  5716.     Copies  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  104
  5717.     Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  104
  5718. File  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
  5719.     Allocation Errors . . . . . . . . .  48, 81, 84, 85, 86, 87, 89, 106
  5720.     Attributes  . . . . . . . . . . . . . . . . . . . . . . . . . 28, 39
  5721.     Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . 41
  5722. Free Space  . . . . . . . . . . . . . . . . . . . . . . . . . . . 19, 47
  5723.     Logical . . . . . . . . . . . . . . . . . . . . . . . . . . . 19, 47
  5724.     Physical  . . . . . . . . . . . . . . . . . . . . . . . . . . 19, 47
  5725.     Projected . . . . . . . . . . . . . . . . . . . . . . . . 11, 19, 47
  5726.  
  5727.  
  5728. JAM 1.20  User's Guide                                          Page 120
  5729. ------------------------------------------------------------------------
  5730.  
  5731. +---+
  5732. | G |
  5733. +---+
  5734.  
  5735. Getting Started With the JAM  . . . . . . . . . . . . . . . . . . . . 12
  5736. Glossary  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5737.  
  5738. +---+
  5739. | H |
  5740. +---+
  5741.  
  5742. Hard Disk Logical Drive . . . . . . . . . . . . . . . . . . . . . . . 64
  5743. Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . 12
  5744. Host Drive  . . . . . . . . . . . . . . . . . . . . . . . 10, 14, 21, 64
  5745.  
  5746. +---+
  5747. | J |
  5748. +---+
  5749.  
  5750. JAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  8, 61
  5751.     Allocation Strategies . . . . . . . . . . . . . . . . . . . . . . 37
  5752.     Application Interface . . . . . . . . . . . . . . . . . . . . .  115
  5753.     Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5754.         Structure . . . . . . . . . . . . . . . . . . . . . . . . .  108
  5755.     Basic Concepts  . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5756.     Boot Sector layout  . . . . . . . . . . . . . . . . . . . . . .  108
  5757.     Cache System  . . . . . . . . . . . . . . . . . . . . . . . . . . 31
  5758.     Descriptor Table  . . . . . . . . . . . . . . . . . . . . 67, 81, 82
  5759.     Device Driver . . . . . . . . . . . . . . . . . . . . . . .  30, 112
  5760.         Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . 33
  5761.         Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
  5762.         Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . 30
  5763.         Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  5764.     Distribution  . . . . . . . . . . . . . . . . . . . . . . . . . . 13
  5765.     Drive . . . . . . . . . . . . . . . . . . . . . . . . . . 10, 34, 64
  5766.         Access Mode . . . . . . . . . . . . . . . . . . . . . . . . . 35
  5767.         Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
  5768.         Optimization  . . . . . . . . . . . . . . . . . . . . . . 20, 50
  5769.         ReCompression . . . . . . . . . . . . . . . . . . . . . . 20, 50
  5770.         Statistics and Utilization  . . . . . . . . . . . . . . . . . 19
  5771.         Structure . . . . . . . . . . . . . . . . . . . . . . . . .  107
  5772.         Viewing Contents  . . . . . . . . . . . . . . . . . . . . . . 17
  5773.     Features  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
  5774.     File  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10, 64
  5775.         Attributes  . . . . . . . . . . . . . . . . . . . . . . . . . 28
  5776.     Logical Drive . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5777.     Memory Requirements . . . . . . . . . . . . . . . . . . . . . . . 31
  5778. JCHKDSK utility . . . . . . . . . . . . . . . . . . . . . . . . . 19, 45
  5779.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
  5780.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
  5781.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  5782.     Status report . . . . . . . . . . . . . . . . . . . . . . . . . . 47
  5783.     Switches  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  5784.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  5785.  
  5786. JAM 1.20  User's Guide                                          Page 121
  5787. ------------------------------------------------------------------------
  5788.  
  5789. JCREATE utility . . . . . . . . . . . . . . . . . . . . . . . . . 14, 26
  5790.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
  5791.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
  5792.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  5793.     Switches  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
  5794.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  5795. JDIR utility  . . . . . . . . . . . . . . . . . . . . . . . . . . 17, 38
  5796.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
  5797.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
  5798.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
  5799.     Switches  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
  5800.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
  5801. JDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
  5802.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . .  109
  5803.     [Allocated] flag  . . . . . . . . . . . . . . . . . . . . . 104, 109
  5804.     [Deleted] flag  . . . . . . . . . . . . . . . . . . . .  81, 82, 109
  5805.     [Directory] flag  . . . . . . . . . . . . . . . . . . .  79, 80, 110
  5806. JMAX utility  . . . . . . . . . . . . . . . . . . . . . . . . 20, 50, 59
  5807.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5808.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5809.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
  5810.     Switches  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
  5811.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
  5812. JMOUNT utility  . . . . . . . . . . . . . . . . . . . . . . . 23, 31, 34
  5813.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
  5814.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
  5815.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
  5816.     Switches  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
  5817.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
  5818. JSIZE utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5819.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
  5820.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5821.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5822.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  5823. JSWAP utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  5824.     Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  5825.     Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
  5826.     Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  5827.     Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  5828.  
  5829. +---+
  5830. | L |
  5831. +---+
  5832.  
  5833. Logical Capacity  . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5834.     Free Space  . . . . . . . . . . . . . . . . . . . . . . . . . 19, 47
  5835. Lost Chains . . . . . . . . . . . . . . . . . . . . . . . . . . . .  106
  5836.     Clusters  . . . . . . . . . . . . . . . . . . . . . . . . . . .  106
  5837. Low-level disk utilities  . . . . . . . . . . . . . . . . . . . . . . 36
  5838.  
  5839.  
  5840. JAM 1.20  User's Guide                                          Page 122
  5841. ------------------------------------------------------------------------
  5842.  
  5843. +---+
  5844. | M |
  5845. +---+
  5846.  
  5847. Media Descriptor  . . . . . . . . . . . . . . . . . . . . . . . . .  100
  5848. Memory Requirements . . . . . . . . . . . . . . . . . . . . . . . 31, 63
  5849. Mounting JAM drives Read-Only . . . . . . . . . . . . . . . . . . . . 36
  5850. Multitasking environments . . . . . . . . . . . . . .  83, 100, 101, 105
  5851.  
  5852. +---+
  5853. | O |
  5854. +---+
  5855.  
  5856. Open Files  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
  5857. Optimizing JAM Drives . . . . . . . . . . . . . . . . . . . . . . 20, 50
  5858. Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
  5859.  
  5860. +---+
  5861. | P |
  5862. +---+
  5863.  
  5864. PS/1, PS/2  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  9
  5865. Physical Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5866.     Disk Errors . . . . . . . . . . . . . . . . . . . . . 48, 76, 78, 83
  5867.     Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  5868.     Free Space  . . . . . . . . . . . . . . . . . . . . . . . . . 19, 47
  5869. Projected Capacity  . . . . . . . . . . . . . . . . . . . . . . . . . 10
  5870.     Free Space  . . . . . . . . . . . . . . . . . . . . . . . 11, 19, 47
  5871.  
  5872. +---+
  5873. | R |
  5874. +---+
  5875.  
  5876. RAM Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
  5877. ReCompressing JAM Drives  . . . . . . . . . . . . . . . . . . . . 20, 50
  5878. Read-Only Access Mode . . . . . . . . . . . . . . . . . . . . . . . . 36
  5879. Root Directory  . . . . . . . . . . . . . . . . . . . . . .  68, 92, 105
  5880.  
  5881. +---+
  5882. | S |
  5883. +---+
  5884.  
  5885. Sector  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
  5886. Seldomly used files . . . . . . . . . . . . . . . . . . . . . . . . . 60
  5887. Slack space . . . . . . . . . . . . . . . . . . . . . . . . . . . 18, 68
  5888. Sort Order  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
  5889. Sub-directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
  5890. System Requirements . . . . . . . . . . . . . . . . . . . . . . .  9, 12
  5891.  
  5892. JAM 1.20  User's Guide                                          Page 123
  5893. ------------------------------------------------------------------------
  5894.  
  5895. +---+
  5896. | U |
  5897. +---+
  5898.  
  5899. UnDelete - compatible allocation strategy . . . . . . . . . . . . . . 37
  5900.     Operation Support . . . . . . . . . . . . . . . . . . . . . . . . 23
  5901.     Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  5902.  
  5903. +---+
  5904. | V |
  5905. +---+
  5906.  
  5907. Viewing the contents of JAM Drives  . . . . . . . . . . . . . . . . . 17
  5908.  
  5909. +---+
  5910. | W |
  5911. +---+
  5912.  
  5913. Write Behind Caching  . . . . . . . . . . . . . . . . . . . . . . . . 36
  5914.  
  5915.  
  5916.  
  5917. JAM 1.20  User's Guide                                          Page 124
  5918. ------------------------------------------------------------------------
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.                             T H E    E N D
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.